<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.17"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>Win32k: immuser.h 文件参考</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="navtree.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="resize.js"></script>
<script type="text/javascript" src="navtreedata.js"></script>
<script type="text/javascript" src="navtree.js"></script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/searchdata.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td id="projectalign" style="padding-left: 0.5em;">
   <div id="projectname">Win32k
   </div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- 制作者 Doxygen 1.8.17 -->
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
var searchBox = new SearchBox("searchBox", "search",false,'搜索');
/* @license-end */
</script>
<script type="text/javascript" src="menudata.js"></script>
<script type="text/javascript" src="menu.js"></script>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
$(function() {
  initMenu('',true,false,'search.php','搜索');
  $(document).ready(function() { init_search(); });
});
/* @license-end */</script>
<div id="main-nav"></div>
</div><!-- top -->
<div id="side-nav" class="ui-resizable side-nav-resizable">
  <div id="nav-tree">
    <div id="nav-tree-contents">
      <div id="nav-sync" class="sync"></div>
    </div>
  </div>
  <div id="splitbar" style="-moz-user-select:none;" 
       class="ui-resizable-handle">
  </div>
</div>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
$(document).ready(function(){initNavTree('a00344.html',''); initResizable(); });
/* @license-end */
</script>
<div id="doc-content">
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>

<div class="header">
  <div class="summary">
<a href="#nested-classes">结构体</a> &#124;
<a href="#define-members">宏定义</a> &#124;
<a href="#typedef-members">类型定义</a> &#124;
<a href="#func-members">函数</a>  </div>
  <div class="headertitle">
<div class="title">immuser.h 文件参考</div>  </div>
</div><!--header-->
<div class="contents">
<div class="textblock"><code>#include &lt;imm.h&gt;</code><br />
<code>#include &lt;immp.h&gt;</code><br />
<code>#include &lt;ime.h&gt;</code><br />
<code>#include &lt;imep.h&gt;</code><br />
</div>
<p><a href="a00344_source.html">浏览源代码.</a></p>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="nested-classes"></a>
结构体</h2></td></tr>
<tr class="memitem:"><td class="memItemLeft" align="right" valign="top">struct &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a02057.html">tagCLIENTIMC</a></td></tr>
<tr class="separator:"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:"><td class="memItemLeft" align="right" valign="top">struct &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a02061.html">tagIMEDPI</a></td></tr>
<tr class="separator:"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:"><td class="memItemLeft" align="right" valign="top">struct &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a02065.html">tagIMEDPI::_tagImeFunctions</a></td></tr>
<tr class="separator:"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="define-members"></a>
宏定义</h2></td></tr>
<tr class="memitem:ad764390ce9150a55aed33f7a97ab1eb2"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a00344.html#ad764390ce9150a55aed33f7a97ab1eb2">InitImcCrit</a>(pClientImc)&#160;&#160;&#160;RtlInitializeCriticalSection(&amp;pClientImc-&gt;cs)</td></tr>
<tr class="separator:ad764390ce9150a55aed33f7a97ab1eb2"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a0f23df0fcad1be8ff3c13a31691d8394"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a00344.html#a0f23df0fcad1be8ff3c13a31691d8394">DeleteImcCrit</a>(pClientImc)&#160;&#160;&#160;RtlDeleteCriticalSection(&amp;pClientImc-&gt;cs)</td></tr>
<tr class="separator:a0f23df0fcad1be8ff3c13a31691d8394"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a9ad8535109e91528b27ed8e7b23c795e"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a00344.html#a9ad8535109e91528b27ed8e7b23c795e">EnterImcCrit</a>(pClientImc)&#160;&#160;&#160;RtlEnterCriticalSection(&amp;pClientImc-&gt;cs)</td></tr>
<tr class="separator:a9ad8535109e91528b27ed8e7b23c795e"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a23858f06dc6ee2d95b0757843a62d491"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a00344.html#a23858f06dc6ee2d95b0757843a62d491">LeaveImcCrit</a>(pClientImc)&#160;&#160;&#160;RtlLeaveCriticalSection(&amp;pClientImc-&gt;cs)</td></tr>
<tr class="separator:a23858f06dc6ee2d95b0757843a62d491"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="typedef-members"></a>
类型定义</h2></td></tr>
<tr class="memitem:ae4ba85df4bfac6e3f4b1a1b6b746292f"><td class="memItemLeft" align="right" valign="top">typedef struct <a class="el" href="a02057.html">tagCLIENTIMC</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a00344.html#ae4ba85df4bfac6e3f4b1a1b6b746292f">CLIENTIMC</a></td></tr>
<tr class="separator:ae4ba85df4bfac6e3f4b1a1b6b746292f"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a013cc3374cd90a89e95081008e1de08b"><td class="memItemLeft" align="right" valign="top">typedef struct <a class="el" href="a02057.html">tagCLIENTIMC</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a00344.html#a013cc3374cd90a89e95081008e1de08b">PCLIENTIMC</a></td></tr>
<tr class="separator:a013cc3374cd90a89e95081008e1de08b"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a23b11b6633c37c3ff8b389b1a339b9ca"><td class="memItemLeft" align="right" valign="top">typedef BOOL(CALLBACK *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a00344.html#a23b11b6633c37c3ff8b389b1a339b9ca">IMCENUMPROC</a>) (HIMC, LPARAM)</td></tr>
<tr class="separator:a23b11b6633c37c3ff8b389b1a339b9ca"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:af7ff04259e204b501f1989f7581ed2b3"><td class="memItemLeft" align="right" valign="top">typedef BOOL(CALLBACK *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a00344.html#af7ff04259e204b501f1989f7581ed2b3">PFNINQUIREA</a>) (LPIMEINFO, LPSTR, LPSTR)</td></tr>
<tr class="separator:af7ff04259e204b501f1989f7581ed2b3"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a95af86a569e7b328fa86be65811c59b0"><td class="memItemLeft" align="right" valign="top">typedef BOOL(CALLBACK *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a00344.html#a95af86a569e7b328fa86be65811c59b0">PFNINQUIREW</a>) (LPIMEINFO, LPWSTR, LPWSTR)</td></tr>
<tr class="separator:a95af86a569e7b328fa86be65811c59b0"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aae9002bd36172045ee93bb602813450d"><td class="memItemLeft" align="right" valign="top">typedef <a class="el" href="a00563.html#a074685e97e89d6aa2accdfcb82328699">DWORD</a>(CALLBACK *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a00344.html#aae9002bd36172045ee93bb602813450d">PFNCONVLISTA</a>) (HIMC, LPCSTR, LPCANDIDATELIST, <a class="el" href="a00563.html#a074685e97e89d6aa2accdfcb82328699">DWORD</a>, <a class="el" href="a03608.html#afd1a0e78d1f88954d93e48ab3821781f">UINT</a>)</td></tr>
<tr class="separator:aae9002bd36172045ee93bb602813450d"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a9ef54ee9c4fe22da29b72550353ebe32"><td class="memItemLeft" align="right" valign="top">typedef <a class="el" href="a00563.html#a074685e97e89d6aa2accdfcb82328699">DWORD</a>(CALLBACK *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a00344.html#a9ef54ee9c4fe22da29b72550353ebe32">PFNCONVLISTW</a>) (HIMC, LPCWSTR, LPCANDIDATELIST, <a class="el" href="a00563.html#a074685e97e89d6aa2accdfcb82328699">DWORD</a>, <a class="el" href="a03608.html#afd1a0e78d1f88954d93e48ab3821781f">UINT</a>)</td></tr>
<tr class="separator:a9ef54ee9c4fe22da29b72550353ebe32"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a6232878f09aaba943064c93e9595a135"><td class="memItemLeft" align="right" valign="top">typedef BOOL(CALLBACK *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a00344.html#a6232878f09aaba943064c93e9595a135">PFNREGWORDA</a>) (LPCSTR, <a class="el" href="a00563.html#a074685e97e89d6aa2accdfcb82328699">DWORD</a>, LPCSTR)</td></tr>
<tr class="separator:a6232878f09aaba943064c93e9595a135"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:afc6a7dce53385e8593a18d890752ce67"><td class="memItemLeft" align="right" valign="top">typedef BOOL(CALLBACK *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a00344.html#afc6a7dce53385e8593a18d890752ce67">PFNREGWORDW</a>) (LPCWSTR, <a class="el" href="a00563.html#a074685e97e89d6aa2accdfcb82328699">DWORD</a>, LPCWSTR)</td></tr>
<tr class="separator:afc6a7dce53385e8593a18d890752ce67"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a2f5722f589ddccaac6ac6eb13bfe500e"><td class="memItemLeft" align="right" valign="top">typedef BOOL(CALLBACK *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a00344.html#a2f5722f589ddccaac6ac6eb13bfe500e">PFNUNREGWORDA</a>) (LPCSTR, <a class="el" href="a00563.html#a074685e97e89d6aa2accdfcb82328699">DWORD</a>, LPCSTR)</td></tr>
<tr class="separator:a2f5722f589ddccaac6ac6eb13bfe500e"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a295ad584767a5bd1ba01b5575dc00c3d"><td class="memItemLeft" align="right" valign="top">typedef BOOL(CALLBACK *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a00344.html#a295ad584767a5bd1ba01b5575dc00c3d">PFNUNREGWORDW</a>) (LPCWSTR, <a class="el" href="a00563.html#a074685e97e89d6aa2accdfcb82328699">DWORD</a>, LPCWSTR)</td></tr>
<tr class="separator:a295ad584767a5bd1ba01b5575dc00c3d"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a16b90306319bada653afe07554663888"><td class="memItemLeft" align="right" valign="top">typedef <a class="el" href="a03608.html#afd1a0e78d1f88954d93e48ab3821781f">UINT</a>(CALLBACK *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a00344.html#a16b90306319bada653afe07554663888">PFNGETREGWORDSTYA</a>) (<a class="el" href="a03608.html#afd1a0e78d1f88954d93e48ab3821781f">UINT</a>, LPSTYLEBUFA)</td></tr>
<tr class="separator:a16b90306319bada653afe07554663888"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a89a9358a2dd7de0ffefaad9fddd7cbd5"><td class="memItemLeft" align="right" valign="top">typedef <a class="el" href="a03608.html#afd1a0e78d1f88954d93e48ab3821781f">UINT</a>(CALLBACK *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a00344.html#a89a9358a2dd7de0ffefaad9fddd7cbd5">PFNGETREGWORDSTYW</a>) (<a class="el" href="a03608.html#afd1a0e78d1f88954d93e48ab3821781f">UINT</a>, LPSTYLEBUFW)</td></tr>
<tr class="separator:a89a9358a2dd7de0ffefaad9fddd7cbd5"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a2719b75f475401ae02876c61b1e26fdf"><td class="memItemLeft" align="right" valign="top">typedef <a class="el" href="a03608.html#afd1a0e78d1f88954d93e48ab3821781f">UINT</a>(CALLBACK *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a00344.html#a2719b75f475401ae02876c61b1e26fdf">PFNENUMREGWORDA</a>) (REGISTERWORDENUMPROCA, LPCSTR, <a class="el" href="a00563.html#a074685e97e89d6aa2accdfcb82328699">DWORD</a>, LPCSTR, LPVOID)</td></tr>
<tr class="separator:a2719b75f475401ae02876c61b1e26fdf"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a99adbaf92939ccf2633a19cfce01d474"><td class="memItemLeft" align="right" valign="top">typedef <a class="el" href="a03608.html#afd1a0e78d1f88954d93e48ab3821781f">UINT</a>(CALLBACK *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a00344.html#a99adbaf92939ccf2633a19cfce01d474">PFNENUMREGWORDW</a>) (REGISTERWORDENUMPROCW, LPCWSTR, <a class="el" href="a00563.html#a074685e97e89d6aa2accdfcb82328699">DWORD</a>, LPCWSTR, LPVOID)</td></tr>
<tr class="separator:a99adbaf92939ccf2633a19cfce01d474"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a2e9cda276832ce6725ddcb82b5530ff5"><td class="memItemLeft" align="right" valign="top">typedef BOOL(CALLBACK *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a00344.html#a2e9cda276832ce6725ddcb82b5530ff5">PFNCONFIGURE</a>) (HKL, HWND, <a class="el" href="a00563.html#a074685e97e89d6aa2accdfcb82328699">DWORD</a>, LPVOID)</td></tr>
<tr class="separator:a2e9cda276832ce6725ddcb82b5530ff5"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:abbb28ffd9aaae866ce52339caa5652a3"><td class="memItemLeft" align="right" valign="top">typedef BOOL(CALLBACK *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a00344.html#abbb28ffd9aaae866ce52339caa5652a3">PFNDESTROY</a>) (<a class="el" href="a03608.html#afd1a0e78d1f88954d93e48ab3821781f">UINT</a>)</td></tr>
<tr class="separator:abbb28ffd9aaae866ce52339caa5652a3"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a42d93e8f857cd3cab83236490f2d1f7f"><td class="memItemLeft" align="right" valign="top">typedef LRESULT(CALLBACK *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a00344.html#a42d93e8f857cd3cab83236490f2d1f7f">PFNESCAPE</a>) (HIMC, <a class="el" href="a03608.html#afd1a0e78d1f88954d93e48ab3821781f">UINT</a>, LPVOID)</td></tr>
<tr class="separator:a42d93e8f857cd3cab83236490f2d1f7f"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a158dd20f8cfe779224f7de84a5fef8cc"><td class="memItemLeft" align="right" valign="top">typedef BOOL(CALLBACK *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a00344.html#a158dd20f8cfe779224f7de84a5fef8cc">PFNPROCESSKEY</a>) (HIMC, <a class="el" href="a03608.html#afd1a0e78d1f88954d93e48ab3821781f">UINT</a>, LPARAM, CONST LPBYTE)</td></tr>
<tr class="separator:a158dd20f8cfe779224f7de84a5fef8cc"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a5885f531fbad439ac40414c9d6487e25"><td class="memItemLeft" align="right" valign="top">typedef BOOL(CALLBACK *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a00344.html#a5885f531fbad439ac40414c9d6487e25">PFNSELECT</a>) (HIMC, BOOL)</td></tr>
<tr class="separator:a5885f531fbad439ac40414c9d6487e25"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a577a359eabc96e543124990eb2b8ea48"><td class="memItemLeft" align="right" valign="top">typedef BOOL(CALLBACK *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a00344.html#a577a359eabc96e543124990eb2b8ea48">PFNSETACTIVEC</a>) (HIMC, BOOL)</td></tr>
<tr class="separator:a577a359eabc96e543124990eb2b8ea48"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a388580b29182d42e9062d028e8841398"><td class="memItemLeft" align="right" valign="top">typedef <a class="el" href="a03608.html#afd1a0e78d1f88954d93e48ab3821781f">UINT</a>(CALLBACK *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a00344.html#a388580b29182d42e9062d028e8841398">PFNTOASCEX</a>) (<a class="el" href="a03608.html#afd1a0e78d1f88954d93e48ab3821781f">UINT</a>, <a class="el" href="a03608.html#afd1a0e78d1f88954d93e48ab3821781f">UINT</a>, CONST LPBYTE, LPDWORD, <a class="el" href="a03608.html#afd1a0e78d1f88954d93e48ab3821781f">UINT</a>, HIMC)</td></tr>
<tr class="separator:a388580b29182d42e9062d028e8841398"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a98952987bd948fe59a1e27642bd65a94"><td class="memItemLeft" align="right" valign="top">typedef BOOL(CALLBACK *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a00344.html#a98952987bd948fe59a1e27642bd65a94">PFNNOTIFY</a>) (HIMC, <a class="el" href="a00563.html#a074685e97e89d6aa2accdfcb82328699">DWORD</a>, <a class="el" href="a00563.html#a074685e97e89d6aa2accdfcb82328699">DWORD</a>, <a class="el" href="a00563.html#a074685e97e89d6aa2accdfcb82328699">DWORD</a>)</td></tr>
<tr class="separator:a98952987bd948fe59a1e27642bd65a94"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a6b22df37f1f29cb7c4e739e8c62b57cc"><td class="memItemLeft" align="right" valign="top">typedef BOOL(CALLBACK *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a00344.html#a6b22df37f1f29cb7c4e739e8c62b57cc">PFNSETCOMPSTR</a>) (HIMC, <a class="el" href="a00563.html#a074685e97e89d6aa2accdfcb82328699">DWORD</a>, LPCVOID, <a class="el" href="a00563.html#a074685e97e89d6aa2accdfcb82328699">DWORD</a>, LPCVOID, <a class="el" href="a00563.html#a074685e97e89d6aa2accdfcb82328699">DWORD</a>)</td></tr>
<tr class="separator:a6b22df37f1f29cb7c4e739e8c62b57cc"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a5fcce26df4c241714eaeb449ac199e2d"><td class="memItemLeft" align="right" valign="top">typedef struct <a class="el" href="a02061.html">tagIMEDPI</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a00344.html#a5fcce26df4c241714eaeb449ac199e2d">IMEDPI</a></td></tr>
<tr class="separator:a5fcce26df4c241714eaeb449ac199e2d"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a62ef1d2de4f5999445749347090577a3"><td class="memItemLeft" align="right" valign="top">typedef struct <a class="el" href="a02061.html">tagIMEDPI</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a00344.html#a62ef1d2de4f5999445749347090577a3">PIMEDPI</a></td></tr>
<tr class="separator:a62ef1d2de4f5999445749347090577a3"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="func-members"></a>
函数</h2></td></tr>
<tr class="memitem:a6b4e462d01b05f606afd788cf7aee109"><td class="memItemLeft" align="right" valign="top">BOOL WINAPI&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a00344.html#a6b4e462d01b05f606afd788cf7aee109">ImmCreateDefaultContext</a> (HIMC hImc)</td></tr>
<tr class="separator:a6b4e462d01b05f606afd788cf7aee109"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a23a438551d2eb11e0888f95995d3ff1e"><td class="memItemLeft" align="right" valign="top">BOOL&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a00344.html#a23a438551d2eb11e0888f95995d3ff1e">ImmSetActiveContext</a> (HWND hWnd, HIMC hImc, BOOL fActivate)</td></tr>
<tr class="separator:a23a438551d2eb11e0888f95995d3ff1e"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ae493eb3876d28be3f96624bfccabcb0b"><td class="memItemLeft" align="right" valign="top">BOOL WINAPI&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a00344.html#ae493eb3876d28be3f96624bfccabcb0b">ImmLoadIME</a> (HKL hKL)</td></tr>
<tr class="separator:ae493eb3876d28be3f96624bfccabcb0b"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a8e6eaf9fe50b2dd8488affe4206c68eb"><td class="memItemLeft" align="right" valign="top">BOOL WINAPI&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a00344.html#a8e6eaf9fe50b2dd8488affe4206c68eb">ImmActivateLayout</a> (HKL hUnSelKL)</td></tr>
<tr class="separator:a8e6eaf9fe50b2dd8488affe4206c68eb"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a88fdd75a569dc403e8a3cb8a5d891c62"><td class="memItemLeft" align="right" valign="top">BOOL WINAPI&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a00344.html#a88fdd75a569dc403e8a3cb8a5d891c62">ImmLoadLayout</a> (HKL hKL, <a class="el" href="a00341.html#a25e40eacaa986803eb17bafd33ae4dae">PIMEINFOEX</a> piiex)</td></tr>
<tr class="separator:a88fdd75a569dc403e8a3cb8a5d891c62"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:abad0a50d57502d3e8ec482dd68997ad9"><td class="memItemLeft" align="right" valign="top"><a class="el" href="a00344.html#a013cc3374cd90a89e95081008e1de08b">PCLIENTIMC</a> WINAPI&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a00344.html#abad0a50d57502d3e8ec482dd68997ad9">ImmLockClientImc</a> (HIMC hImc)</td></tr>
<tr class="separator:abad0a50d57502d3e8ec482dd68997ad9"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a9488726a81b957d10975e322e12b13e0"><td class="memItemLeft" align="right" valign="top">VOID WINAPI&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a00344.html#a9488726a81b957d10975e322e12b13e0">ImmUnlockClientImc</a> (<a class="el" href="a00344.html#a013cc3374cd90a89e95081008e1de08b">PCLIENTIMC</a> pClientImc)</td></tr>
<tr class="separator:a9488726a81b957d10975e322e12b13e0"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a321a0bacc1c67d1fefea199d0c6f4612"><td class="memItemLeft" align="right" valign="top"><a class="el" href="a00344.html#a62ef1d2de4f5999445749347090577a3">PIMEDPI</a> WINAPI&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a00344.html#a321a0bacc1c67d1fefea199d0c6f4612">ImmLockImeDpi</a> (HKL hKL)</td></tr>
<tr class="separator:a321a0bacc1c67d1fefea199d0c6f4612"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a476139459ee89728a91d341e1b72fb39"><td class="memItemLeft" align="right" valign="top">VOID WINAPI&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a00344.html#a476139459ee89728a91d341e1b72fb39">ImmUnlockImeDpi</a> (<a class="el" href="a00344.html#a62ef1d2de4f5999445749347090577a3">PIMEDPI</a> pImeDpi)</td></tr>
<tr class="separator:a476139459ee89728a91d341e1b72fb39"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:adbb6236f980a6faaacadbe634b25bbe2"><td class="memItemLeft" align="right" valign="top">BOOL WINAPI&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a00344.html#adbb6236f980a6faaacadbe634b25bbe2">ImmGetImeInfoEx</a> (<a class="el" href="a00341.html#a25e40eacaa986803eb17bafd33ae4dae">PIMEINFOEX</a> piiex, <a class="el" href="a00341.html#ad6f8721157f4e8eed2bafd3646d96277">IMEINFOEXCLASS</a> SearchType, PVOID pvSearchKey)</td></tr>
<tr class="separator:adbb6236f980a6faaacadbe634b25bbe2"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:abb97a0d6c03df5af8ddcf02033ef12d8"><td class="memItemLeft" align="right" valign="top"><a class="el" href="a00563.html#a074685e97e89d6aa2accdfcb82328699">DWORD</a> WINAPI&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a00344.html#abb97a0d6c03df5af8ddcf02033ef12d8">ImmProcessKey</a> (HWND hWnd, HIMC hIMC, HKL hkl, <a class="el" href="a03608.html#afd1a0e78d1f88954d93e48ab3821781f">UINT</a> uVKey, LONG lParam, <a class="el" href="a00563.html#a074685e97e89d6aa2accdfcb82328699">DWORD</a> dwHotKeyID)</td></tr>
<tr class="separator:abb97a0d6c03df5af8ddcf02033ef12d8"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a64204fa04498ea04e098127aa6b121dc"><td class="memItemLeft" align="right" valign="top">BOOL&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a00344.html#a64204fa04498ea04e098127aa6b121dc">ImmTranslateMessage</a> (HWND hwnd, <a class="el" href="a03608.html#afd1a0e78d1f88954d93e48ab3821781f">UINT</a> message, WPARAM wParam, LPARAM lParam)</td></tr>
<tr class="separator:a64204fa04498ea04e098127aa6b121dc"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a57534b163256da047704429045116132"><td class="memItemLeft" align="right" valign="top">VOID&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a00344.html#a57534b163256da047704429045116132">ImmInitializeHotKeys</a> (BOOL bUserLoggedOn)</td></tr>
<tr class="separator:a57534b163256da047704429045116132"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<h2 class="groupheader">宏定义说明</h2>
<a id="a0f23df0fcad1be8ff3c13a31691d8394"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a0f23df0fcad1be8ff3c13a31691d8394">&#9670;&nbsp;</a></span>DeleteImcCrit</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define DeleteImcCrit</td>
          <td>(</td>
          <td class="paramtype">&#160;</td>
          <td class="paramname">pClientImc</td><td>)</td>
          <td>&#160;&#160;&#160;RtlDeleteCriticalSection(&amp;pClientImc-&gt;cs)</td>
        </tr>
      </table>
</div><div class="memdoc">

<p class="definition">在文件 <a class="el" href="a00344_source.html">immuser.h</a> 第 <a class="el" href="a00344_source.html#l00032">32</a> 行定义.</p>

</div>
</div>
<a id="a9ad8535109e91528b27ed8e7b23c795e"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a9ad8535109e91528b27ed8e7b23c795e">&#9670;&nbsp;</a></span>EnterImcCrit</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define EnterImcCrit</td>
          <td>(</td>
          <td class="paramtype">&#160;</td>
          <td class="paramname">pClientImc</td><td>)</td>
          <td>&#160;&#160;&#160;RtlEnterCriticalSection(&amp;pClientImc-&gt;cs)</td>
        </tr>
      </table>
</div><div class="memdoc">

<p class="definition">在文件 <a class="el" href="a00344_source.html">immuser.h</a> 第 <a class="el" href="a00344_source.html#l00033">33</a> 行定义.</p>

</div>
</div>
<a id="ad764390ce9150a55aed33f7a97ab1eb2"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ad764390ce9150a55aed33f7a97ab1eb2">&#9670;&nbsp;</a></span>InitImcCrit</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define InitImcCrit</td>
          <td>(</td>
          <td class="paramtype">&#160;</td>
          <td class="paramname">pClientImc</td><td>)</td>
          <td>&#160;&#160;&#160;RtlInitializeCriticalSection(&amp;pClientImc-&gt;cs)</td>
        </tr>
      </table>
</div><div class="memdoc">

<p class="definition">在文件 <a class="el" href="a00344_source.html">immuser.h</a> 第 <a class="el" href="a00344_source.html#l00031">31</a> 行定义.</p>

</div>
</div>
<a id="a23858f06dc6ee2d95b0757843a62d491"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a23858f06dc6ee2d95b0757843a62d491">&#9670;&nbsp;</a></span>LeaveImcCrit</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define LeaveImcCrit</td>
          <td>(</td>
          <td class="paramtype">&#160;</td>
          <td class="paramname">pClientImc</td><td>)</td>
          <td>&#160;&#160;&#160;RtlLeaveCriticalSection(&amp;pClientImc-&gt;cs)</td>
        </tr>
      </table>
</div><div class="memdoc">

<p class="definition">在文件 <a class="el" href="a00344_source.html">immuser.h</a> 第 <a class="el" href="a00344_source.html#l00034">34</a> 行定义.</p>

</div>
</div>
<h2 class="groupheader">类型定义说明</h2>
<a id="ae4ba85df4bfac6e3f4b1a1b6b746292f"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ae4ba85df4bfac6e3f4b1a1b6b746292f">&#9670;&nbsp;</a></span>CLIENTIMC</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">typedef struct <a class="el" href="a02057.html">tagCLIENTIMC</a> <a class="el" href="a00344.html#ae4ba85df4bfac6e3f4b1a1b6b746292f">CLIENTIMC</a></td>
        </tr>
      </table>
</div><div class="memdoc">

</div>
</div>
<a id="a23b11b6633c37c3ff8b389b1a339b9ca"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a23b11b6633c37c3ff8b389b1a339b9ca">&#9670;&nbsp;</a></span>IMCENUMPROC</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">typedef BOOL(CALLBACK* IMCENUMPROC) (HIMC, LPARAM)</td>
        </tr>
      </table>
</div><div class="memdoc">

<p class="definition">在文件 <a class="el" href="a00344_source.html">immuser.h</a> 第 <a class="el" href="a00344_source.html#l00036">36</a> 行定义.</p>

</div>
</div>
<a id="a5fcce26df4c241714eaeb449ac199e2d"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a5fcce26df4c241714eaeb449ac199e2d">&#9670;&nbsp;</a></span>IMEDPI</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">typedef struct <a class="el" href="a02061.html">tagIMEDPI</a> <a class="el" href="a00344.html#a5fcce26df4c241714eaeb449ac199e2d">IMEDPI</a></td>
        </tr>
      </table>
</div><div class="memdoc">

</div>
</div>
<a id="a013cc3374cd90a89e95081008e1de08b"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a013cc3374cd90a89e95081008e1de08b">&#9670;&nbsp;</a></span>PCLIENTIMC</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">typedef struct <a class="el" href="a02057.html">tagCLIENTIMC</a> * <a class="el" href="a00344.html#a013cc3374cd90a89e95081008e1de08b">PCLIENTIMC</a></td>
        </tr>
      </table>
</div><div class="memdoc">

</div>
</div>
<a id="a2e9cda276832ce6725ddcb82b5530ff5"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a2e9cda276832ce6725ddcb82b5530ff5">&#9670;&nbsp;</a></span>PFNCONFIGURE</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">typedef BOOL(CALLBACK* PFNCONFIGURE) (HKL, HWND, <a class="el" href="a00563.html#a074685e97e89d6aa2accdfcb82328699">DWORD</a>, LPVOID)</td>
        </tr>
      </table>
</div><div class="memdoc">

<p class="definition">在文件 <a class="el" href="a00344_source.html">immuser.h</a> 第 <a class="el" href="a00344_source.html#l00053">53</a> 行定义.</p>

</div>
</div>
<a id="aae9002bd36172045ee93bb602813450d"></a>
<h2 class="memtitle"><span class="permalink"><a href="#aae9002bd36172045ee93bb602813450d">&#9670;&nbsp;</a></span>PFNCONVLISTA</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">typedef <a class="el" href="a00563.html#a074685e97e89d6aa2accdfcb82328699">DWORD</a>(CALLBACK* PFNCONVLISTA) (HIMC, LPCSTR, LPCANDIDATELIST, <a class="el" href="a00563.html#a074685e97e89d6aa2accdfcb82328699">DWORD</a>, <a class="el" href="a03608.html#afd1a0e78d1f88954d93e48ab3821781f">UINT</a>)</td>
        </tr>
      </table>
</div><div class="memdoc">

<p class="definition">在文件 <a class="el" href="a00344_source.html">immuser.h</a> 第 <a class="el" href="a00344_source.html#l00043">43</a> 行定义.</p>

</div>
</div>
<a id="a9ef54ee9c4fe22da29b72550353ebe32"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a9ef54ee9c4fe22da29b72550353ebe32">&#9670;&nbsp;</a></span>PFNCONVLISTW</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">typedef <a class="el" href="a00563.html#a074685e97e89d6aa2accdfcb82328699">DWORD</a>(CALLBACK* PFNCONVLISTW) (HIMC, LPCWSTR, LPCANDIDATELIST, <a class="el" href="a00563.html#a074685e97e89d6aa2accdfcb82328699">DWORD</a>, <a class="el" href="a03608.html#afd1a0e78d1f88954d93e48ab3821781f">UINT</a>)</td>
        </tr>
      </table>
</div><div class="memdoc">

<p class="definition">在文件 <a class="el" href="a00344_source.html">immuser.h</a> 第 <a class="el" href="a00344_source.html#l00044">44</a> 行定义.</p>

</div>
</div>
<a id="abbb28ffd9aaae866ce52339caa5652a3"></a>
<h2 class="memtitle"><span class="permalink"><a href="#abbb28ffd9aaae866ce52339caa5652a3">&#9670;&nbsp;</a></span>PFNDESTROY</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">typedef BOOL(CALLBACK* PFNDESTROY) (<a class="el" href="a03608.html#afd1a0e78d1f88954d93e48ab3821781f">UINT</a>)</td>
        </tr>
      </table>
</div><div class="memdoc">

<p class="definition">在文件 <a class="el" href="a00344_source.html">immuser.h</a> 第 <a class="el" href="a00344_source.html#l00054">54</a> 行定义.</p>

</div>
</div>
<a id="a2719b75f475401ae02876c61b1e26fdf"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a2719b75f475401ae02876c61b1e26fdf">&#9670;&nbsp;</a></span>PFNENUMREGWORDA</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">typedef <a class="el" href="a03608.html#afd1a0e78d1f88954d93e48ab3821781f">UINT</a>(CALLBACK* PFNENUMREGWORDA) (REGISTERWORDENUMPROCA, LPCSTR, <a class="el" href="a00563.html#a074685e97e89d6aa2accdfcb82328699">DWORD</a>, LPCSTR, LPVOID)</td>
        </tr>
      </table>
</div><div class="memdoc">

<p class="definition">在文件 <a class="el" href="a00344_source.html">immuser.h</a> 第 <a class="el" href="a00344_source.html#l00051">51</a> 行定义.</p>

</div>
</div>
<a id="a99adbaf92939ccf2633a19cfce01d474"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a99adbaf92939ccf2633a19cfce01d474">&#9670;&nbsp;</a></span>PFNENUMREGWORDW</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">typedef <a class="el" href="a03608.html#afd1a0e78d1f88954d93e48ab3821781f">UINT</a>(CALLBACK* PFNENUMREGWORDW) (REGISTERWORDENUMPROCW, LPCWSTR, <a class="el" href="a00563.html#a074685e97e89d6aa2accdfcb82328699">DWORD</a>, LPCWSTR, LPVOID)</td>
        </tr>
      </table>
</div><div class="memdoc">

<p class="definition">在文件 <a class="el" href="a00344_source.html">immuser.h</a> 第 <a class="el" href="a00344_source.html#l00052">52</a> 行定义.</p>

</div>
</div>
<a id="a42d93e8f857cd3cab83236490f2d1f7f"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a42d93e8f857cd3cab83236490f2d1f7f">&#9670;&nbsp;</a></span>PFNESCAPE</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">typedef LRESULT(CALLBACK* PFNESCAPE) (HIMC, <a class="el" href="a03608.html#afd1a0e78d1f88954d93e48ab3821781f">UINT</a>, LPVOID)</td>
        </tr>
      </table>
</div><div class="memdoc">

<p class="definition">在文件 <a class="el" href="a00344_source.html">immuser.h</a> 第 <a class="el" href="a00344_source.html#l00055">55</a> 行定义.</p>

</div>
</div>
<a id="a16b90306319bada653afe07554663888"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a16b90306319bada653afe07554663888">&#9670;&nbsp;</a></span>PFNGETREGWORDSTYA</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">typedef <a class="el" href="a03608.html#afd1a0e78d1f88954d93e48ab3821781f">UINT</a>(CALLBACK* PFNGETREGWORDSTYA) (<a class="el" href="a03608.html#afd1a0e78d1f88954d93e48ab3821781f">UINT</a>, LPSTYLEBUFA)</td>
        </tr>
      </table>
</div><div class="memdoc">

<p class="definition">在文件 <a class="el" href="a00344_source.html">immuser.h</a> 第 <a class="el" href="a00344_source.html#l00049">49</a> 行定义.</p>

</div>
</div>
<a id="a89a9358a2dd7de0ffefaad9fddd7cbd5"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a89a9358a2dd7de0ffefaad9fddd7cbd5">&#9670;&nbsp;</a></span>PFNGETREGWORDSTYW</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">typedef <a class="el" href="a03608.html#afd1a0e78d1f88954d93e48ab3821781f">UINT</a>(CALLBACK* PFNGETREGWORDSTYW) (<a class="el" href="a03608.html#afd1a0e78d1f88954d93e48ab3821781f">UINT</a>, LPSTYLEBUFW)</td>
        </tr>
      </table>
</div><div class="memdoc">

<p class="definition">在文件 <a class="el" href="a00344_source.html">immuser.h</a> 第 <a class="el" href="a00344_source.html#l00050">50</a> 行定义.</p>

</div>
</div>
<a id="af7ff04259e204b501f1989f7581ed2b3"></a>
<h2 class="memtitle"><span class="permalink"><a href="#af7ff04259e204b501f1989f7581ed2b3">&#9670;&nbsp;</a></span>PFNINQUIREA</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">typedef BOOL(CALLBACK* PFNINQUIREA) (LPIMEINFO, LPSTR, LPSTR)</td>
        </tr>
      </table>
</div><div class="memdoc">

<p class="definition">在文件 <a class="el" href="a00344_source.html">immuser.h</a> 第 <a class="el" href="a00344_source.html#l00041">41</a> 行定义.</p>

</div>
</div>
<a id="a95af86a569e7b328fa86be65811c59b0"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a95af86a569e7b328fa86be65811c59b0">&#9670;&nbsp;</a></span>PFNINQUIREW</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">typedef BOOL(CALLBACK* PFNINQUIREW) (LPIMEINFO, LPWSTR, LPWSTR)</td>
        </tr>
      </table>
</div><div class="memdoc">

<p class="definition">在文件 <a class="el" href="a00344_source.html">immuser.h</a> 第 <a class="el" href="a00344_source.html#l00042">42</a> 行定义.</p>

</div>
</div>
<a id="a98952987bd948fe59a1e27642bd65a94"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a98952987bd948fe59a1e27642bd65a94">&#9670;&nbsp;</a></span>PFNNOTIFY</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">typedef BOOL(CALLBACK* PFNNOTIFY) (HIMC, <a class="el" href="a00563.html#a074685e97e89d6aa2accdfcb82328699">DWORD</a>, <a class="el" href="a00563.html#a074685e97e89d6aa2accdfcb82328699">DWORD</a>, <a class="el" href="a00563.html#a074685e97e89d6aa2accdfcb82328699">DWORD</a>)</td>
        </tr>
      </table>
</div><div class="memdoc">

<p class="definition">在文件 <a class="el" href="a00344_source.html">immuser.h</a> 第 <a class="el" href="a00344_source.html#l00060">60</a> 行定义.</p>

</div>
</div>
<a id="a158dd20f8cfe779224f7de84a5fef8cc"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a158dd20f8cfe779224f7de84a5fef8cc">&#9670;&nbsp;</a></span>PFNPROCESSKEY</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">typedef BOOL(CALLBACK* PFNPROCESSKEY) (HIMC, <a class="el" href="a03608.html#afd1a0e78d1f88954d93e48ab3821781f">UINT</a>, LPARAM, CONST LPBYTE)</td>
        </tr>
      </table>
</div><div class="memdoc">

<p class="definition">在文件 <a class="el" href="a00344_source.html">immuser.h</a> 第 <a class="el" href="a00344_source.html#l00056">56</a> 行定义.</p>

</div>
</div>
<a id="a6232878f09aaba943064c93e9595a135"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a6232878f09aaba943064c93e9595a135">&#9670;&nbsp;</a></span>PFNREGWORDA</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">typedef BOOL(CALLBACK* PFNREGWORDA) (LPCSTR, <a class="el" href="a00563.html#a074685e97e89d6aa2accdfcb82328699">DWORD</a>, LPCSTR)</td>
        </tr>
      </table>
</div><div class="memdoc">

<p class="definition">在文件 <a class="el" href="a00344_source.html">immuser.h</a> 第 <a class="el" href="a00344_source.html#l00045">45</a> 行定义.</p>

</div>
</div>
<a id="afc6a7dce53385e8593a18d890752ce67"></a>
<h2 class="memtitle"><span class="permalink"><a href="#afc6a7dce53385e8593a18d890752ce67">&#9670;&nbsp;</a></span>PFNREGWORDW</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">typedef BOOL(CALLBACK* PFNREGWORDW) (LPCWSTR, <a class="el" href="a00563.html#a074685e97e89d6aa2accdfcb82328699">DWORD</a>, LPCWSTR)</td>
        </tr>
      </table>
</div><div class="memdoc">

<p class="definition">在文件 <a class="el" href="a00344_source.html">immuser.h</a> 第 <a class="el" href="a00344_source.html#l00046">46</a> 行定义.</p>

</div>
</div>
<a id="a5885f531fbad439ac40414c9d6487e25"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a5885f531fbad439ac40414c9d6487e25">&#9670;&nbsp;</a></span>PFNSELECT</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">typedef BOOL(CALLBACK* PFNSELECT) (HIMC, BOOL)</td>
        </tr>
      </table>
</div><div class="memdoc">

<p class="definition">在文件 <a class="el" href="a00344_source.html">immuser.h</a> 第 <a class="el" href="a00344_source.html#l00057">57</a> 行定义.</p>

</div>
</div>
<a id="a577a359eabc96e543124990eb2b8ea48"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a577a359eabc96e543124990eb2b8ea48">&#9670;&nbsp;</a></span>PFNSETACTIVEC</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">typedef BOOL(CALLBACK* PFNSETACTIVEC) (HIMC, BOOL)</td>
        </tr>
      </table>
</div><div class="memdoc">

<p class="definition">在文件 <a class="el" href="a00344_source.html">immuser.h</a> 第 <a class="el" href="a00344_source.html#l00058">58</a> 行定义.</p>

</div>
</div>
<a id="a6b22df37f1f29cb7c4e739e8c62b57cc"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a6b22df37f1f29cb7c4e739e8c62b57cc">&#9670;&nbsp;</a></span>PFNSETCOMPSTR</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">typedef BOOL(CALLBACK* PFNSETCOMPSTR) (HIMC, <a class="el" href="a00563.html#a074685e97e89d6aa2accdfcb82328699">DWORD</a>, LPCVOID, <a class="el" href="a00563.html#a074685e97e89d6aa2accdfcb82328699">DWORD</a>, LPCVOID, <a class="el" href="a00563.html#a074685e97e89d6aa2accdfcb82328699">DWORD</a>)</td>
        </tr>
      </table>
</div><div class="memdoc">

<p class="definition">在文件 <a class="el" href="a00344_source.html">immuser.h</a> 第 <a class="el" href="a00344_source.html#l00061">61</a> 行定义.</p>

</div>
</div>
<a id="a388580b29182d42e9062d028e8841398"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a388580b29182d42e9062d028e8841398">&#9670;&nbsp;</a></span>PFNTOASCEX</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">typedef <a class="el" href="a03608.html#afd1a0e78d1f88954d93e48ab3821781f">UINT</a>(CALLBACK* PFNTOASCEX) (<a class="el" href="a03608.html#afd1a0e78d1f88954d93e48ab3821781f">UINT</a>, <a class="el" href="a03608.html#afd1a0e78d1f88954d93e48ab3821781f">UINT</a>, CONST LPBYTE, LPDWORD, <a class="el" href="a03608.html#afd1a0e78d1f88954d93e48ab3821781f">UINT</a>, HIMC)</td>
        </tr>
      </table>
</div><div class="memdoc">

<p class="definition">在文件 <a class="el" href="a00344_source.html">immuser.h</a> 第 <a class="el" href="a00344_source.html#l00059">59</a> 行定义.</p>

</div>
</div>
<a id="a2f5722f589ddccaac6ac6eb13bfe500e"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a2f5722f589ddccaac6ac6eb13bfe500e">&#9670;&nbsp;</a></span>PFNUNREGWORDA</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">typedef BOOL(CALLBACK* PFNUNREGWORDA) (LPCSTR, <a class="el" href="a00563.html#a074685e97e89d6aa2accdfcb82328699">DWORD</a>, LPCSTR)</td>
        </tr>
      </table>
</div><div class="memdoc">

<p class="definition">在文件 <a class="el" href="a00344_source.html">immuser.h</a> 第 <a class="el" href="a00344_source.html#l00047">47</a> 行定义.</p>

</div>
</div>
<a id="a295ad584767a5bd1ba01b5575dc00c3d"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a295ad584767a5bd1ba01b5575dc00c3d">&#9670;&nbsp;</a></span>PFNUNREGWORDW</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">typedef BOOL(CALLBACK* PFNUNREGWORDW) (LPCWSTR, <a class="el" href="a00563.html#a074685e97e89d6aa2accdfcb82328699">DWORD</a>, LPCWSTR)</td>
        </tr>
      </table>
</div><div class="memdoc">

<p class="definition">在文件 <a class="el" href="a00344_source.html">immuser.h</a> 第 <a class="el" href="a00344_source.html#l00048">48</a> 行定义.</p>

</div>
</div>
<a id="a62ef1d2de4f5999445749347090577a3"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a62ef1d2de4f5999445749347090577a3">&#9670;&nbsp;</a></span>PIMEDPI</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">typedef struct <a class="el" href="a02061.html">tagIMEDPI</a> * <a class="el" href="a00344.html#a62ef1d2de4f5999445749347090577a3">PIMEDPI</a></td>
        </tr>
      </table>
</div><div class="memdoc">

</div>
</div>
<h2 class="groupheader">函数说明</h2>
<a id="a8e6eaf9fe50b2dd8488affe4206c68eb"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a8e6eaf9fe50b2dd8488affe4206c68eb">&#9670;&nbsp;</a></span>ImmActivateLayout()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">BOOL WINAPI ImmActivateLayout </td>
          <td>(</td>
          <td class="paramtype">HKL&#160;</td>
          <td class="paramname"><em>hUnSelKL</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p class="definition">在文件 <a class="el" href="a00296_source.html">immime.c</a> 第 <a class="el" href="a00296_source.html#l00316">316</a> 行定义.</p>
<div class="fragment"><div class="line"><a name="l00318"></a><span class="lineno">  318</span>&#160;{</div>
<div class="line"><a name="l00319"></a><span class="lineno">  319</span>&#160;    HKL     hUnSelKL;</div>
<div class="line"><a name="l00320"></a><span class="lineno">  320</span>&#160;    HWND    hWndDefaultIme;</div>
<div class="line"><a name="l00321"></a><span class="lineno">  321</span>&#160;    <a class="code" href="a01981.html">SCE</a>     sce;</div>
<div class="line"><a name="l00322"></a><span class="lineno">  322</span>&#160; </div>
<div class="line"><a name="l00323"></a><span class="lineno">  323</span>&#160;    hUnSelKL = <a class="code" href="a00026.html#a46278f8b1db32b9b4679eee6abc9e1b4">GetKeyboardLayout</a>(0);</div>
<div class="line"><a name="l00324"></a><span class="lineno">  324</span>&#160; </div>
<div class="line"><a name="l00325"></a><span class="lineno">  325</span>&#160;    <span class="comment">/*</span></div>
<div class="line"><a name="l00326"></a><span class="lineno">  326</span>&#160;<span class="comment">     * If already the current active keyboard layout, do nothing.</span></div>
<div class="line"><a name="l00327"></a><span class="lineno">  327</span>&#160;<span class="comment">     */</span></div>
<div class="line"><a name="l00328"></a><span class="lineno">  328</span>&#160;    <span class="keywordflow">if</span> (hUnSelKL == hSelKL)</div>
<div class="line"><a name="l00329"></a><span class="lineno">  329</span>&#160;        <span class="keywordflow">return</span> TRUE;</div>
<div class="line"><a name="l00330"></a><span class="lineno">  330</span>&#160; </div>
<div class="line"><a name="l00331"></a><span class="lineno">  331</span>&#160;<span class="preprocessor">#ifdef LATER</span></div>
<div class="line"><a name="l00332"></a><span class="lineno">  332</span>&#160;    <span class="comment">// Do EnumWndProcIMEUnselect() for old app. support here.</span></div>
<div class="line"><a name="l00333"></a><span class="lineno">  333</span>&#160;<span class="preprocessor">#endif</span></div>
<div class="line"><a name="l00334"></a><span class="lineno">  334</span>&#160; </div>
<div class="line"><a name="l00335"></a><span class="lineno">  335</span>&#160;    <a class="code" href="a00296.html#ae493eb3876d28be3f96624bfccabcb0b">ImmLoadIME</a>(hSelKL);</div>
<div class="line"><a name="l00336"></a><span class="lineno">  336</span>&#160; </div>
<div class="line"><a name="l00337"></a><span class="lineno">  337</span>&#160;    <span class="comment">/*</span></div>
<div class="line"><a name="l00338"></a><span class="lineno">  338</span>&#160;<span class="comment">     * CPS_CANCEL all strings for every input context assoicated</span></div>
<div class="line"><a name="l00339"></a><span class="lineno">  339</span>&#160;<span class="comment">     * to window(s) created by this thread. Starting from SUR,</span></div>
<div class="line"><a name="l00340"></a><span class="lineno">  340</span>&#160;<span class="comment">     * we only assoicate input context to window created by the</span></div>
<div class="line"><a name="l00341"></a><span class="lineno">  341</span>&#160;<span class="comment">     * same thread. Just do an EnumInputContext here for speed.</span></div>
<div class="line"><a name="l00342"></a><span class="lineno">  342</span>&#160;<span class="comment">     */</span></div>
<div class="line"><a name="l00343"></a><span class="lineno">  343</span>&#160;    <a class="code" href="a00278.html#a86710598a5f27f0601d453cdbb0104f4">EnumInputContext</a>(GetCurrentThreadId(), (<a class="code" href="a00344.html#a23b11b6633c37c3ff8b389b1a339b9ca">IMCENUMPROC</a>)<a class="code" href="a00296.html#a43671cc4adc1a0394d9b74ef70393734">NotifyIMEProc</a>, 0L);</div>
<div class="line"><a name="l00344"></a><span class="lineno">  344</span>&#160; </div>
<div class="line"><a name="l00345"></a><span class="lineno">  345</span>&#160;    hWndDefaultIme = <a class="code" href="a00311.html#a30f5ab809b5e01066c0c3916a81c3489">ImmGetDefaultIMEWnd</a>(NULL);</div>
<div class="line"><a name="l00346"></a><span class="lineno">  346</span>&#160; </div>
<div class="line"><a name="l00347"></a><span class="lineno">  347</span>&#160;    <span class="keywordflow">if</span> (<a class="code" href="a03743.html#ac5ede70e870dc1cf540d7524887e4edc">IsWindow</a>(hWndDefaultIme))</div>
<div class="line"><a name="l00348"></a><span class="lineno">  348</span>&#160;        SendMessage(hWndDefaultIme, WM_IME_SELECT, FALSE, (LPARAM)hUnSelKL);</div>
<div class="line"><a name="l00349"></a><span class="lineno">  349</span>&#160; </div>
<div class="line"><a name="l00350"></a><span class="lineno">  350</span>&#160;    <span class="comment">/*</span></div>
<div class="line"><a name="l00351"></a><span class="lineno">  351</span>&#160;<span class="comment">     * This is the time to update the kernel side layout handles.</span></div>
<div class="line"><a name="l00352"></a><span class="lineno">  352</span>&#160;<span class="comment">     * We must do this before sending WM_IME_SELECT.</span></div>
<div class="line"><a name="l00353"></a><span class="lineno">  353</span>&#160;<span class="comment">     */</span></div>
<div class="line"><a name="l00354"></a><span class="lineno">  354</span>&#160;    <a class="code" href="a00341.html#a0a9dccdee156ccd95b13070fe779bd64">NtUserSetThreadLayoutHandles</a>(hSelKL, hUnSelKL);</div>
<div class="line"><a name="l00355"></a><span class="lineno">  355</span>&#160; </div>
<div class="line"><a name="l00356"></a><span class="lineno">  356</span>&#160;    <span class="comment">/*</span></div>
<div class="line"><a name="l00357"></a><span class="lineno">  357</span>&#160;<span class="comment">     * Unselect and select input context(s).</span></div>
<div class="line"><a name="l00358"></a><span class="lineno">  358</span>&#160;<span class="comment">     */</span></div>
<div class="line"><a name="l00359"></a><span class="lineno">  359</span>&#160;    sce.<a class="code" href="a01981.html#a7e778641be2cbb1d7912a392ab24458d">hSelKL</a>   = hSelKL;</div>
<div class="line"><a name="l00360"></a><span class="lineno">  360</span>&#160;    sce.<a class="code" href="a01981.html#a8c4dc3185b129fc96fb5216ba4e00b21">hUnSelKL</a> = hUnSelKL;</div>
<div class="line"><a name="l00361"></a><span class="lineno">  361</span>&#160;    <a class="code" href="a00278.html#a86710598a5f27f0601d453cdbb0104f4">EnumInputContext</a>(GetCurrentThreadId(), (<a class="code" href="a00344.html#a23b11b6633c37c3ff8b389b1a339b9ca">IMCENUMPROC</a>)<a class="code" href="a00296.html#a88afa3ab3b3763c2cd0402736f8db0f9">SelectContextProc</a>, (LONG)&amp;sce);</div>
<div class="line"><a name="l00362"></a><span class="lineno">  362</span>&#160; </div>
<div class="line"><a name="l00363"></a><span class="lineno">  363</span>&#160;    <span class="comment">/*</span></div>
<div class="line"><a name="l00364"></a><span class="lineno">  364</span>&#160;<span class="comment">     * inform UI select after all hIMC select</span></div>
<div class="line"><a name="l00365"></a><span class="lineno">  365</span>&#160;<span class="comment">     */</span></div>
<div class="line"><a name="l00366"></a><span class="lineno">  366</span>&#160;    <span class="keywordflow">if</span> (<a class="code" href="a03743.html#ac5ede70e870dc1cf540d7524887e4edc">IsWindow</a>(hWndDefaultIme))</div>
<div class="line"><a name="l00367"></a><span class="lineno">  367</span>&#160;        SendMessage(hWndDefaultIme, WM_IME_SELECT, TRUE, (LPARAM)hSelKL);</div>
<div class="line"><a name="l00368"></a><span class="lineno">  368</span>&#160; </div>
<div class="line"><a name="l00369"></a><span class="lineno">  369</span>&#160;<span class="preprocessor">#ifdef LATER</span></div>
<div class="line"><a name="l00370"></a><span class="lineno">  370</span>&#160;    <span class="comment">// Do EnumWndProcIMESelect() for old app. support here.</span></div>
<div class="line"><a name="l00371"></a><span class="lineno">  371</span>&#160;<span class="preprocessor">#endif</span></div>
<div class="line"><a name="l00372"></a><span class="lineno">  372</span>&#160; </div>
<div class="line"><a name="l00373"></a><span class="lineno">  373</span>&#160;    <span class="keywordflow">return</span> (TRUE);</div>
<div class="line"><a name="l00374"></a><span class="lineno">  374</span>&#160;}</div>
</div><!-- fragment -->
<p class="reference">引用了 <a class="el" href="a00278_source.html#l00786">EnumInputContext()</a>, <a class="el" href="a00026_source.html#l03732">GetKeyboardLayout()</a>, <a class="el" href="a00296_source.html#l00016">tagSELECTCONTEXT_ENUM::hSelKL</a>, <a class="el" href="a00296_source.html#l00017">tagSELECTCONTEXT_ENUM::hUnSelKL</a>, <a class="el" href="a00311_source.html#l00021">ImmGetDefaultIMEWnd()</a>, <a class="el" href="a00296_source.html#l00303">ImmLoadIME()</a>, <a class="el" href="a03743_source.html#l00421">IsWindow()</a>, <a class="el" href="a00296_source.html#l00285">NotifyIMEProc()</a>, <a class="el" href="a00341.html#a0a9dccdee156ccd95b13070fe779bd64">NtUserSetThreadLayoutHandles()</a> , 以及 <a class="el" href="a00296_source.html#l00295">SelectContextProc()</a>.</p>

<p class="reference">被这些函数引用 <a class="el" href="a00167_source.html#l00271">ImeSystemHandler()</a>.</p>

</div>
</div>
<a id="a6b4e462d01b05f606afd788cf7aee109"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a6b4e462d01b05f606afd788cf7aee109">&#9670;&nbsp;</a></span>ImmCreateDefaultContext()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">BOOL WINAPI ImmCreateDefaultContext </td>
          <td>(</td>
          <td class="paramtype">HIMC&#160;</td>
          <td class="paramname"><em>hImc</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p class="definition">在文件 <a class="el" href="a00278_source.html">context.c</a> 第 <a class="el" href="a00278_source.html#l00027">27</a> 行定义.</p>
<div class="fragment"><div class="line"><a name="l00029"></a><span class="lineno">   29</span>&#160;{</div>
<div class="line"><a name="l00030"></a><span class="lineno">   30</span>&#160;    <a class="code" href="a02057.html">PCLIENTIMC</a> pClientImc;</div>
<div class="line"><a name="l00031"></a><span class="lineno">   31</span>&#160; </div>
<div class="line"><a name="l00032"></a><span class="lineno">   32</span>&#160;    <span class="comment">/*</span></div>
<div class="line"><a name="l00033"></a><span class="lineno">   33</span>&#160;<span class="comment">     * ImmLockClientImc() will create client side Imc.</span></div>
<div class="line"><a name="l00034"></a><span class="lineno">   34</span>&#160;<span class="comment">     */</span></div>
<div class="line"><a name="l00035"></a><span class="lineno">   35</span>&#160;    pClientImc = <a class="code" href="a00311.html#abad0a50d57502d3e8ec482dd68997ad9">ImmLockClientImc</a>(hImc);</div>
<div class="line"><a name="l00036"></a><span class="lineno">   36</span>&#160;    <span class="keywordflow">if</span> (pClientImc != NULL) {</div>
<div class="line"><a name="l00037"></a><span class="lineno">   37</span>&#160;        <span class="comment">/*</span></div>
<div class="line"><a name="l00038"></a><span class="lineno">   38</span>&#160;<span class="comment">         * Marks with default input context signature.</span></div>
<div class="line"><a name="l00039"></a><span class="lineno">   39</span>&#160;<span class="comment">         */</span></div>
<div class="line"><a name="l00040"></a><span class="lineno">   40</span>&#160;        <a class="code" href="a00293.html#ac9a8b2084b3f85ce62924981d68efa1e">SetICF</a>(pClientImc, <a class="code" href="a00341.html#a432037388ec41b1fb8f299bdda2ea394">IMCF_DEFAULTIMC</a>);</div>
<div class="line"><a name="l00041"></a><span class="lineno">   41</span>&#160;        <a class="code" href="a00311.html#a9488726a81b957d10975e322e12b13e0">ImmUnlockClientImc</a>(pClientImc);</div>
<div class="line"><a name="l00042"></a><span class="lineno">   42</span>&#160;    }</div>
<div class="line"><a name="l00043"></a><span class="lineno">   43</span>&#160; </div>
<div class="line"><a name="l00044"></a><span class="lineno">   44</span>&#160;    <span class="comment">/*</span></div>
<div class="line"><a name="l00045"></a><span class="lineno">   45</span>&#160;<span class="comment">     * Load up the IME DLL of current keyboard layout.</span></div>
<div class="line"><a name="l00046"></a><span class="lineno">   46</span>&#160;<span class="comment">     */</span></div>
<div class="line"><a name="l00047"></a><span class="lineno">   47</span>&#160;    <a class="code" href="a00296.html#ae493eb3876d28be3f96624bfccabcb0b">ImmLoadIME</a>(<a class="code" href="a00026.html#a46278f8b1db32b9b4679eee6abc9e1b4">GetKeyboardLayout</a>(0));</div>
<div class="line"><a name="l00048"></a><span class="lineno">   48</span>&#160; </div>
<div class="line"><a name="l00049"></a><span class="lineno">   49</span>&#160;    <span class="keywordflow">return</span> (pClientImc != NULL);</div>
<div class="line"><a name="l00050"></a><span class="lineno">   50</span>&#160;}</div>
</div><!-- fragment -->
<p class="reference">引用了 <a class="el" href="a00026_source.html#l03732">GetKeyboardLayout()</a>, <a class="el" href="a00341_source.html#l00037">IMCF_DEFAULTIMC</a>, <a class="el" href="a00296_source.html#l00303">ImmLoadIME()</a>, <a class="el" href="a00311_source.html#l00570">ImmLockClientImc()</a>, <a class="el" href="a00311_source.html#l00623">ImmUnlockClientImc()</a> , 以及 <a class="el" href="a00293_source.html#l00132">SetICF</a>.</p>

</div>
</div>
<a id="adbb6236f980a6faaacadbe634b25bbe2"></a>
<h2 class="memtitle"><span class="permalink"><a href="#adbb6236f980a6faaacadbe634b25bbe2">&#9670;&nbsp;</a></span>ImmGetImeInfoEx()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">BOOL WINAPI ImmGetImeInfoEx </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="a00341.html#a25e40eacaa986803eb17bafd33ae4dae">PIMEINFOEX</a>&#160;</td>
          <td class="paramname"><em>piiex</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="a00341.html#ad6f8721157f4e8eed2bafd3646d96277">IMEINFOEXCLASS</a>&#160;</td>
          <td class="paramname"><em>SearchType</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">PVOID&#160;</td>
          <td class="paramname"><em>pvSearchKey</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p class="definition">在文件 <a class="el" href="a00311_source.html">misc.c</a> 第 <a class="el" href="a00311_source.html#l00697">697</a> 行定义.</p>
<div class="fragment"><div class="line"><a name="l00701"></a><span class="lineno">  701</span>&#160;{</div>
<div class="line"><a name="l00702"></a><span class="lineno">  702</span>&#160;    <a class="code" href="a00293.html#a4a8d67a2c4cc9ce4dd6aabfd9e460635">ImmAssert</a>(piiex != NULL &amp;&amp; pvSearchKey != NULL);</div>
<div class="line"><a name="l00703"></a><span class="lineno">  703</span>&#160; </div>
<div class="line"><a name="l00704"></a><span class="lineno">  704</span>&#160;    <span class="keywordflow">switch</span> (SearchType) {</div>
<div class="line"><a name="l00705"></a><span class="lineno">  705</span>&#160;    <span class="keywordflow">case</span> <a class="code" href="a00341.html#ac899aa88e02c855ed80c85ccef785080a8f18818e788e4836e1e1a7bedad609f3">ImeInfoExKeyboardLayout</a>:</div>
<div class="line"><a name="l00706"></a><span class="lineno">  706</span>&#160;        piiex-&gt;<a class="code" href="a02053.html#a44bfbf1bad1abd1c46618c96f982aec4">hkl</a> = *((HKL *)pvSearchKey);</div>
<div class="line"><a name="l00707"></a><span class="lineno">  707</span>&#160;        <span class="comment">/*</span></div>
<div class="line"><a name="l00708"></a><span class="lineno">  708</span>&#160;<span class="comment">         * Quick return for non-IME based keyboard layout</span></div>
<div class="line"><a name="l00709"></a><span class="lineno">  709</span>&#160;<span class="comment">         */</span></div>
<div class="line"><a name="l00710"></a><span class="lineno">  710</span>&#160;        <span class="keywordflow">if</span> (!<a class="code" href="a00341.html#a9d87ba42d1eed654ee04b018be9ea0b4">IS_IME_KBDLAYOUT</a>(piiex-&gt;<a class="code" href="a02053.html#a44bfbf1bad1abd1c46618c96f982aec4">hkl</a>))</div>
<div class="line"><a name="l00711"></a><span class="lineno">  711</span>&#160;            <span class="keywordflow">return</span> FALSE;</div>
<div class="line"><a name="l00712"></a><span class="lineno">  712</span>&#160;        <span class="keywordflow">break</span>;</div>
<div class="line"><a name="l00713"></a><span class="lineno">  713</span>&#160; </div>
<div class="line"><a name="l00714"></a><span class="lineno">  714</span>&#160;    <span class="keywordflow">case</span> <a class="code" href="a00341.html#ac899aa88e02c855ed80c85ccef785080a262a9cb5d01f81a2e10060e897a8451f">ImeInfoExImeFileName</a>:</div>
<div class="line"><a name="l00715"></a><span class="lineno">  715</span>&#160;        wcscpy(piiex-&gt;<a class="code" href="a02053.html#a0a3a84deefbb80ce558a51542d96d9d4">wszImeFile</a>, (PWSTR)pvSearchKey);</div>
<div class="line"><a name="l00716"></a><span class="lineno">  716</span>&#160;        <span class="keywordflow">break</span>;</div>
<div class="line"><a name="l00717"></a><span class="lineno">  717</span>&#160; </div>
<div class="line"><a name="l00718"></a><span class="lineno">  718</span>&#160;    <span class="keywordflow">default</span>:</div>
<div class="line"><a name="l00719"></a><span class="lineno">  719</span>&#160;        <span class="keywordflow">return</span> FALSE;</div>
<div class="line"><a name="l00720"></a><span class="lineno">  720</span>&#160;    }</div>
<div class="line"><a name="l00721"></a><span class="lineno">  721</span>&#160; </div>
<div class="line"><a name="l00722"></a><span class="lineno">  722</span>&#160;    <span class="keywordflow">return</span> <a class="code" href="a00341.html#a4bed4ae731d02d2c8db5737a1727fb19">NtUserGetImeInfoEx</a>(piiex, SearchType);</div>
<div class="line"><a name="l00723"></a><span class="lineno">  723</span>&#160;}</div>
</div><!-- fragment -->
<p class="reference">引用了 <a class="el" href="a00341_source.html#l00082">tagIMEINFOEX::hkl</a>, <a class="el" href="a00341_source.html#l00135">ImeInfoExImeFileName</a>, <a class="el" href="a00341_source.html#l00133">ImeInfoExKeyboardLayout</a>, <a class="el" href="a00293_source.html#l00057">ImmAssert</a>, <a class="el" href="a00341_source.html#l00045">IS_IME_KBDLAYOUT</a>, <a class="el" href="a00341.html#a4bed4ae731d02d2c8db5737a1727fb19">NtUserGetImeInfoEx()</a> , 以及 <a class="el" href="a00341_source.html#l00091">tagIMEINFOEX::wszImeFile</a>.</p>

<p class="reference">被这些函数引用 <a class="el" href="a00167_source.html#l00767">CreateIMEUI()</a>, <a class="el" href="a00296_source.html#l00204">FindOrLoadImeDpi()</a>, <a class="el" href="a00308_source.html#l00066">ImmGetDescriptionA()</a>, <a class="el" href="a00308_source.html#l00025">ImmGetDescriptionW()</a>, <a class="el" href="a00308_source.html#l00144">ImmGetIMEFileNameA()</a>, <a class="el" href="a00308_source.html#l00103">ImmGetIMEFileNameW()</a>, <a class="el" href="a00308_source.html#l00181">ImmGetProperty()</a>, <a class="el" href="a00308_source.html#l00279">ImmIsIME()</a> , 以及 <a class="el" href="a03287_source.html#l00086">ImmTranslateMessage()</a>.</p>

</div>
</div>
<a id="a57534b163256da047704429045116132"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a57534b163256da047704429045116132">&#9670;&nbsp;</a></span>ImmInitializeHotKeys()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">VOID ImmInitializeHotKeys </td>
          <td>(</td>
          <td class="paramtype">BOOL&#160;</td>
          <td class="paramname"><em>bUserLoggedOn</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p class="definition">在文件 <a class="el" href="a00290_source.html">hotkey.c</a> 第 <a class="el" href="a00290_source.html#l00086">86</a> 行定义.</p>
<div class="fragment"><div class="line"><a name="l00087"></a><span class="lineno">   87</span>&#160;{</div>
<div class="line"><a name="l00088"></a><span class="lineno">   88</span>&#160;    LCID lcid;</div>
<div class="line"><a name="l00089"></a><span class="lineno">   89</span>&#160;    BOOL fFoundAny;</div>
<div class="line"><a name="l00090"></a><span class="lineno">   90</span>&#160; </div>
<div class="line"><a name="l00091"></a><span class="lineno">   91</span>&#160;    <a class="code" href="a00290.html#a723d9ff773cafab64424bec3d32c2921">ImmSetHotKeyWorker</a>( 0, 0, 0, NULL, <a class="code" href="a00341.html#aa968df90be5e9b0fbaacebcd15dab627">ISHK_INITIALIZE</a> );</div>
<div class="line"><a name="l00092"></a><span class="lineno">   92</span>&#160;    fFoundAny = <a class="code" href="a00290.html#a94659c775dc741381fd9bd5dfdfd4155">GetImeHotKeysFromRegistry</a>();</div>
<div class="line"><a name="l00093"></a><span class="lineno">   93</span>&#160; </div>
<div class="line"><a name="l00094"></a><span class="lineno">   94</span>&#160;    lcid = GetUserDefaultLCID();</div>
<div class="line"><a name="l00095"></a><span class="lineno">   95</span>&#160; </div>
<div class="line"><a name="l00096"></a><span class="lineno">   96</span>&#160;    <span class="keywordflow">switch</span> ( PRIMARYLANGID(LANGIDFROMLCID(lcid)) ) {</div>
<div class="line"><a name="l00097"></a><span class="lineno">   97</span>&#160;    <span class="keywordflow">case</span> LANG_JAPANESE:</div>
<div class="line"><a name="l00098"></a><span class="lineno">   98</span>&#160; </div>
<div class="line"><a name="l00099"></a><span class="lineno">   99</span>&#160;        <a class="code" href="a00290.html#af049c94d40ae862e4a06fead369ae652">SetDefaultImeHotKeys</a>( <a class="code" href="a00290.html#accbde14628a83458fcb4bb4f185e1d4a">DefaultHotKeyTableJ</a>, <a class="code" href="a00290.html#abd805550da61afa38355cd1cd6b30e29">DefaultHotKeyNumJ</a>, fFoundAny );</div>
<div class="line"><a name="l00100"></a><span class="lineno">  100</span>&#160;        <span class="keywordflow">break</span>;</div>
<div class="line"><a name="l00101"></a><span class="lineno">  101</span>&#160; </div>
<div class="line"><a name="l00102"></a><span class="lineno">  102</span>&#160;    <span class="keywordflow">case</span> LANG_KOREAN:</div>
<div class="line"><a name="l00103"></a><span class="lineno">  103</span>&#160; </div>
<div class="line"><a name="l00104"></a><span class="lineno">  104</span>&#160;        <a class="code" href="a00290.html#af049c94d40ae862e4a06fead369ae652">SetDefaultImeHotKeys</a>( <a class="code" href="a00290.html#a1c1bbca623bcff5393fe0becf1083f06">DefaultHotKeyTableK</a>, <a class="code" href="a00290.html#a7cec1255c18441ed7a8a6bd070a9bd10">DefaultHotKeyNumK</a>, fFoundAny );</div>
<div class="line"><a name="l00105"></a><span class="lineno">  105</span>&#160;        <span class="keywordflow">break</span>;</div>
<div class="line"><a name="l00106"></a><span class="lineno">  106</span>&#160; </div>
<div class="line"><a name="l00107"></a><span class="lineno">  107</span>&#160;    <span class="keywordflow">case</span> LANG_CHINESE:</div>
<div class="line"><a name="l00108"></a><span class="lineno">  108</span>&#160;        <span class="keywordflow">switch</span> ( SUBLANGID(lcid) ) {</div>
<div class="line"><a name="l00109"></a><span class="lineno">  109</span>&#160;        <span class="keywordflow">case</span> SUBLANG_CHINESE_TRADITIONAL: </div>
<div class="line"><a name="l00110"></a><span class="lineno">  110</span>&#160;        <span class="keywordflow">case</span> SUBLANG_CHINESE_HONGKONG:</div>
<div class="line"><a name="l00111"></a><span class="lineno">  111</span>&#160; </div>
<div class="line"><a name="l00112"></a><span class="lineno">  112</span>&#160;            <a class="code" href="a00290.html#af049c94d40ae862e4a06fead369ae652">SetDefaultImeHotKeys</a>( <a class="code" href="a00290.html#a928e85672e6ae1095fd67d64fceed206">DefaultHotKeyTableT</a>, <a class="code" href="a00290.html#abe4753787abf4b7d8284900c32abbe8a">DefaultHotKeyNumT</a>, fFoundAny );</div>
<div class="line"><a name="l00113"></a><span class="lineno">  113</span>&#160;            <span class="keywordflow">break</span>;</div>
<div class="line"><a name="l00114"></a><span class="lineno">  114</span>&#160; </div>
<div class="line"><a name="l00115"></a><span class="lineno">  115</span>&#160;        <span class="keywordflow">case</span> SUBLANG_CHINESE_SIMPLIFIED:</div>
<div class="line"><a name="l00116"></a><span class="lineno">  116</span>&#160;        <span class="keywordflow">case</span> SUBLANG_CHINESE_SINGAPORE:</div>
<div class="line"><a name="l00117"></a><span class="lineno">  117</span>&#160;        <span class="keywordflow">default</span>:</div>
<div class="line"><a name="l00118"></a><span class="lineno">  118</span>&#160;            <a class="code" href="a00290.html#af049c94d40ae862e4a06fead369ae652">SetDefaultImeHotKeys</a>( <a class="code" href="a00290.html#a11c0d7986011af848222b788aba333a3">DefaultHotKeyTableC</a>, <a class="code" href="a00290.html#ac2a3547cf7aa2440b6aa5e1993d793c6">DefaultHotKeyNumC</a>, fFoundAny );</div>
<div class="line"><a name="l00119"></a><span class="lineno">  119</span>&#160;        }</div>
<div class="line"><a name="l00120"></a><span class="lineno">  120</span>&#160;    }</div>
<div class="line"><a name="l00121"></a><span class="lineno">  121</span>&#160;}</div>
</div><!-- fragment -->
<p class="reference">引用了 <a class="el" href="a00290_source.html#l00074">DefaultHotKeyNumC</a>, <a class="el" href="a00290_source.html#l00055">DefaultHotKeyNumJ</a>, <a class="el" href="a00290_source.html#l00062">DefaultHotKeyNumK</a>, <a class="el" href="a00290_source.html#l00068">DefaultHotKeyNumT</a>, <a class="el" href="a00290_source.html#l00070">DefaultHotKeyTableC</a>, <a class="el" href="a00290_source.html#l00052">DefaultHotKeyTableJ</a>, <a class="el" href="a00290_source.html#l00057">DefaultHotKeyTableK</a>, <a class="el" href="a00290_source.html#l00064">DefaultHotKeyTableT</a>, <a class="el" href="a00290_source.html#l00149">GetImeHotKeysFromRegistry()</a>, <a class="el" href="a00290_source.html#l00495">ImmSetHotKeyWorker()</a>, <a class="el" href="a00341_source.html#l00068">ISHK_INITIALIZE</a> , 以及 <a class="el" href="a00290_source.html#l00123">SetDefaultImeHotKeys()</a>.</p>

<p class="reference">被这些函数引用 <a class="el" href="a03611_source.html#l00065">UpdatePerUserSystemParameters()</a>.</p>

</div>
</div>
<a id="ae493eb3876d28be3f96624bfccabcb0b"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ae493eb3876d28be3f96624bfccabcb0b">&#9670;&nbsp;</a></span>ImmLoadIME()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">BOOL WINAPI ImmLoadIME </td>
          <td>(</td>
          <td class="paramtype">HKL&#160;</td>
          <td class="paramname"><em>hKL</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p class="definition">在文件 <a class="el" href="a00296_source.html">immime.c</a> 第 <a class="el" href="a00296_source.html#l00303">303</a> 行定义.</p>
<div class="fragment"><div class="line"><a name="l00305"></a><span class="lineno">  305</span>&#160;{</div>
<div class="line"><a name="l00306"></a><span class="lineno">  306</span>&#160;    <a class="code" href="a02061.html">PIMEDPI</a> pImeDpi;</div>
<div class="line"><a name="l00307"></a><span class="lineno">  307</span>&#160; </div>
<div class="line"><a name="l00308"></a><span class="lineno">  308</span>&#160;    pImeDpi = <a class="code" href="a00296.html#affeb9a1f3463582f4269fc771b6eea01">FindOrLoadImeDpi</a>(hKL);</div>
<div class="line"><a name="l00309"></a><span class="lineno">  309</span>&#160; </div>
<div class="line"><a name="l00310"></a><span class="lineno">  310</span>&#160;    <a class="code" href="a00311.html#a476139459ee89728a91d341e1b72fb39">ImmUnlockImeDpi</a>(pImeDpi);</div>
<div class="line"><a name="l00311"></a><span class="lineno">  311</span>&#160; </div>
<div class="line"><a name="l00312"></a><span class="lineno">  312</span>&#160;    <span class="keywordflow">return</span> (pImeDpi) ? TRUE : FALSE;</div>
<div class="line"><a name="l00313"></a><span class="lineno">  313</span>&#160;}</div>
</div><!-- fragment -->
<p class="reference">引用了 <a class="el" href="a00296_source.html#l00204">FindOrLoadImeDpi()</a> , 以及 <a class="el" href="a00311_source.html#l00678">ImmUnlockImeDpi()</a>.</p>

<p class="reference">被这些函数引用 <a class="el" href="a00296_source.html#l00316">ImmActivateLayout()</a> , 以及 <a class="el" href="a00278_source.html#l00027">ImmCreateDefaultContext()</a>.</p>

</div>
</div>
<a id="a88fdd75a569dc403e8a3cb8a5d891c62"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a88fdd75a569dc403e8a3cb8a5d891c62">&#9670;&nbsp;</a></span>ImmLoadLayout()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">BOOL WINAPI ImmLoadLayout </td>
          <td>(</td>
          <td class="paramtype">HKL&#160;</td>
          <td class="paramname"><em>hKL</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="a00341.html#a25e40eacaa986803eb17bafd33ae4dae">PIMEINFOEX</a>&#160;</td>
          <td class="paramname"><em>piiex</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p class="definition">在文件 <a class="el" href="a00305_source.html">layime.c</a> 第 <a class="el" href="a00305_source.html#l00038">38</a> 行定义.</p>
<div class="fragment"><div class="line"><a name="l00041"></a><span class="lineno">   41</span>&#160;{</div>
<div class="line"><a name="l00042"></a><span class="lineno">   42</span>&#160;    UNICODE_STRING strIme;</div>
<div class="line"><a name="l00043"></a><span class="lineno">   43</span>&#160;    WCHAR    wszIme[MAX_PATH];</div>
<div class="line"><a name="l00044"></a><span class="lineno">   44</span>&#160;    HKEY     hKeyKbdLayout, hKeyIme;</div>
<div class="line"><a name="l00045"></a><span class="lineno">   45</span>&#160;    NTSTATUS Status;</div>
<div class="line"><a name="l00046"></a><span class="lineno">   46</span>&#160;    <a class="code" href="a00563.html#a074685e97e89d6aa2accdfcb82328699">DWORD</a>    dwTmp;</div>
<div class="line"><a name="l00047"></a><span class="lineno">   47</span>&#160;    LONG     lRet;</div>
<div class="line"><a name="l00048"></a><span class="lineno">   48</span>&#160; </div>
<div class="line"><a name="l00049"></a><span class="lineno">   49</span>&#160;    strIme.Buffer = wszIme;</div>
<div class="line"><a name="l00050"></a><span class="lineno">   50</span>&#160;    strIme.MaximumLength = <span class="keyword">sizeof</span>(wszIme);</div>
<div class="line"><a name="l00051"></a><span class="lineno">   51</span>&#160; </div>
<div class="line"><a name="l00052"></a><span class="lineno">   52</span>&#160;    Status = RtlIntegerToUnicodeString((ULONG)hKL, 16, &amp;strIme);</div>
<div class="line"><a name="l00053"></a><span class="lineno">   53</span>&#160;    <span class="keywordflow">if</span> (!NT_SUCCESS(Status)) {</div>
<div class="line"><a name="l00054"></a><span class="lineno">   54</span>&#160;        <span class="keywordflow">return</span>(FALSE);</div>
<div class="line"><a name="l00055"></a><span class="lineno">   55</span>&#160;    }</div>
<div class="line"><a name="l00056"></a><span class="lineno">   56</span>&#160; </div>
<div class="line"><a name="l00057"></a><span class="lineno">   57</span>&#160;    lRet = RegOpenKey(HKEY_LOCAL_MACHINE, <a class="code" href="a03254.html#a8012bb4501000bd95057e4e5022b7f91">gszRegKbdLayout</a>, &amp;hKeyKbdLayout);</div>
<div class="line"><a name="l00058"></a><span class="lineno">   58</span>&#160;    <span class="keywordflow">if</span> ( lRet != ERROR_SUCCESS ) {</div>
<div class="line"><a name="l00059"></a><span class="lineno">   59</span>&#160;        <span class="keywordflow">return</span>(FALSE);</div>
<div class="line"><a name="l00060"></a><span class="lineno">   60</span>&#160;    }</div>
<div class="line"><a name="l00061"></a><span class="lineno">   61</span>&#160; </div>
<div class="line"><a name="l00062"></a><span class="lineno">   62</span>&#160;    lRet = RegOpenKey(hKeyKbdLayout, strIme.Buffer, &amp;hKeyIme);</div>
<div class="line"><a name="l00063"></a><span class="lineno">   63</span>&#160;    <span class="keywordflow">if</span> ( lRet != ERROR_SUCCESS ) {</div>
<div class="line"><a name="l00064"></a><span class="lineno">   64</span>&#160;        RegCloseKey(hKeyKbdLayout);</div>
<div class="line"><a name="l00065"></a><span class="lineno">   65</span>&#160;        <span class="keywordflow">return</span>(FALSE);</div>
<div class="line"><a name="l00066"></a><span class="lineno">   66</span>&#160;    }</div>
<div class="line"><a name="l00067"></a><span class="lineno">   67</span>&#160; </div>
<div class="line"><a name="l00068"></a><span class="lineno">   68</span>&#160;    dwTmp = <a class="code" href="a00341.html#acc6ddc0454c999eb72f13dca36106f2c">IM_FILE_SIZE</a>;</div>
<div class="line"><a name="l00069"></a><span class="lineno">   69</span>&#160;    lRet = RegQueryValueEx(hKeyIme,</div>
<div class="line"><a name="l00070"></a><span class="lineno">   70</span>&#160;                           <a class="code" href="a03254.html#a2113971ea24e05b4d0789e642c7cb547">gszValImeFile</a>,</div>
<div class="line"><a name="l00071"></a><span class="lineno">   71</span>&#160;                           NULL,</div>
<div class="line"><a name="l00072"></a><span class="lineno">   72</span>&#160;                           NULL,</div>
<div class="line"><a name="l00073"></a><span class="lineno">   73</span>&#160;                           (LPBYTE)piiex-&gt;<a class="code" href="a02053.html#a0a3a84deefbb80ce558a51542d96d9d4">wszImeFile</a>,</div>
<div class="line"><a name="l00074"></a><span class="lineno">   74</span>&#160;                           &amp;dwTmp);</div>
<div class="line"><a name="l00075"></a><span class="lineno">   75</span>&#160; </div>
<div class="line"><a name="l00076"></a><span class="lineno">   76</span>&#160;    <span class="keywordflow">if</span> ( lRet != ERROR_SUCCESS ) {</div>
<div class="line"><a name="l00077"></a><span class="lineno">   77</span>&#160;        RegCloseKey(hKeyIme);</div>
<div class="line"><a name="l00078"></a><span class="lineno">   78</span>&#160;        RegCloseKey(hKeyKbdLayout);</div>
<div class="line"><a name="l00079"></a><span class="lineno">   79</span>&#160;        <span class="keywordflow">return</span>(FALSE);</div>
<div class="line"><a name="l00080"></a><span class="lineno">   80</span>&#160;    }</div>
<div class="line"><a name="l00081"></a><span class="lineno">   81</span>&#160; </div>
<div class="line"><a name="l00082"></a><span class="lineno">   82</span>&#160;    piiex-&gt;<a class="code" href="a02053.html#a0a3a84deefbb80ce558a51542d96d9d4">wszImeFile</a>[<a class="code" href="a00341.html#acc6ddc0454c999eb72f13dca36106f2c">IM_FILE_SIZE</a> - 1] = L<span class="charliteral">&#39;\0&#39;</span>;</div>
<div class="line"><a name="l00083"></a><span class="lineno">   83</span>&#160; </div>
<div class="line"><a name="l00084"></a><span class="lineno">   84</span>&#160;    RegCloseKey(hKeyIme);</div>
<div class="line"><a name="l00085"></a><span class="lineno">   85</span>&#160;    RegCloseKey(hKeyKbdLayout);</div>
<div class="line"><a name="l00086"></a><span class="lineno">   86</span>&#160; </div>
<div class="line"><a name="l00087"></a><span class="lineno">   87</span>&#160;    piiex-&gt;<a class="code" href="a02053.html#a44bfbf1bad1abd1c46618c96f982aec4">hkl</a> = hKL;</div>
<div class="line"><a name="l00088"></a><span class="lineno">   88</span>&#160;    piiex-&gt;<a class="code" href="a02053.html#aca1095cbcd4e269fd414475cea47a463">fLoadFlag</a> = <a class="code" href="a00341.html#ab070ce633144ec802e93fe55015435ab">IMEF_NONLOAD</a>;</div>
<div class="line"><a name="l00089"></a><span class="lineno">   89</span>&#160; </div>
<div class="line"><a name="l00090"></a><span class="lineno">   90</span>&#160;    <span class="keywordflow">return</span> <a class="code" href="a00305.html#aeee10f6fbed98613f0a627e327f6747b">LoadVersionInfo</a>(piiex);</div>
<div class="line"><a name="l00091"></a><span class="lineno">   91</span>&#160;}</div>
</div><!-- fragment -->
<p class="reference">引用了 <a class="el" href="a00563_source.html#l00175">DWORD</a>, <a class="el" href="a00341_source.html#l00087">tagIMEINFOEX::fLoadFlag</a>, <a class="el" href="a03254_source.html#l00028">gszRegKbdLayout</a>, <a class="el" href="a03254_source.html#l00029">gszValImeFile</a>, <a class="el" href="a00341_source.html#l00082">tagIMEINFOEX::hkl</a>, <a class="el" href="a00341_source.html#l00055">IM_FILE_SIZE</a>, <a class="el" href="a00341_source.html#l00050">IMEF_NONLOAD</a>, <a class="el" href="a00305_source.html#l00312">LoadVersionInfo()</a> , 以及 <a class="el" href="a00341_source.html#l00091">tagIMEINFOEX::wszImeFile</a>.</p>

</div>
</div>
<a id="abad0a50d57502d3e8ec482dd68997ad9"></a>
<h2 class="memtitle"><span class="permalink"><a href="#abad0a50d57502d3e8ec482dd68997ad9">&#9670;&nbsp;</a></span>ImmLockClientImc()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="a00344.html#a013cc3374cd90a89e95081008e1de08b">PCLIENTIMC</a> WINAPI ImmLockClientImc </td>
          <td>(</td>
          <td class="paramtype">HIMC&#160;</td>
          <td class="paramname"><em>hImc</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p class="definition">在文件 <a class="el" href="a00311_source.html">misc.c</a> 第 <a class="el" href="a00311_source.html#l00570">570</a> 行定义.</p>
<div class="fragment"><div class="line"><a name="l00572"></a><span class="lineno">  572</span>&#160;{</div>
<div class="line"><a name="l00573"></a><span class="lineno">  573</span>&#160;    <a class="code" href="a02589.html">PIMC</a>       pImc;</div>
<div class="line"><a name="l00574"></a><span class="lineno">  574</span>&#160;    <a class="code" href="a02057.html">PCLIENTIMC</a> pClientImc;</div>
<div class="line"><a name="l00575"></a><span class="lineno">  575</span>&#160; </div>
<div class="line"><a name="l00576"></a><span class="lineno">  576</span>&#160;    <span class="keywordflow">if</span> (hImc == <a class="code" href="a00341.html#a93b9a7f7677934defcd03ca2c4d41ffa">NULL_HIMC</a>)</div>
<div class="line"><a name="l00577"></a><span class="lineno">  577</span>&#160;        <span class="keywordflow">return</span> NULL;</div>
<div class="line"><a name="l00578"></a><span class="lineno">  578</span>&#160; </div>
<div class="line"><a name="l00579"></a><span class="lineno">  579</span>&#160;    pImc = <a class="code" href="a00365.html#adcc97c154408fd5498551b3d94332c1b">HMValidateHandle</a>((HANDLE)hImc, TYPE_INPUTCONTEXT);</div>
<div class="line"><a name="l00580"></a><span class="lineno">  580</span>&#160; </div>
<div class="line"><a name="l00581"></a><span class="lineno">  581</span>&#160;    <span class="comment">/*</span></div>
<div class="line"><a name="l00582"></a><span class="lineno">  582</span>&#160;<span class="comment">     * Cannot access input context from other process.</span></div>
<div class="line"><a name="l00583"></a><span class="lineno">  583</span>&#160;<span class="comment">     */</span></div>
<div class="line"><a name="l00584"></a><span class="lineno">  584</span>&#160;    <span class="keywordflow">if</span> (pImc == NULL || !<a class="code" href="a00311.html#a1020bebc03d70d1cb65e0f2f363bc6a5">TestInputContextProcess</a>(pImc))</div>
<div class="line"><a name="l00585"></a><span class="lineno">  585</span>&#160;        <span class="keywordflow">return</span> NULL;</div>
<div class="line"><a name="l00586"></a><span class="lineno">  586</span>&#160; </div>
<div class="line"><a name="l00587"></a><span class="lineno">  587</span>&#160;    pClientImc = (<a class="code" href="a00344.html#a013cc3374cd90a89e95081008e1de08b">PCLIENTIMC</a>)pImc-&gt;<a class="code" href="a02589.html#a85828ff3dc4186af53455b2aefe48596">dwClientImcData</a>;</div>
<div class="line"><a name="l00588"></a><span class="lineno">  588</span>&#160; </div>
<div class="line"><a name="l00589"></a><span class="lineno">  589</span>&#160;    if (pClientImc == NULL) {</div>
<div class="line"><a name="l00590"></a><span class="lineno">  590</span>&#160;        <span class="comment">/*</span></div>
<div class="line"><a name="l00591"></a><span class="lineno">  591</span>&#160;<span class="comment">         * We delay the creation of client side Imc. Now, this is</span></div>
<div class="line"><a name="l00592"></a><span class="lineno">  592</span>&#160;<span class="comment">         * the time to create it.</span></div>
<div class="line"><a name="l00593"></a><span class="lineno">  593</span>&#160;<span class="comment">         */</span></div>
<div class="line"><a name="l00594"></a><span class="lineno">  594</span>&#160;        pClientImc = <a class="code" href="a00293.html#a3d753f884cab418538a34030823aa1d0">ImmLocalAlloc</a>(HEAP_ZERO_MEMORY, <span class="keyword">sizeof</span>(<a class="code" href="a02057.html">CLIENTIMC</a>));</div>
<div class="line"><a name="l00595"></a><span class="lineno">  595</span>&#160;        <span class="keywordflow">if</span> (pClientImc == NULL)</div>
<div class="line"><a name="l00596"></a><span class="lineno">  596</span>&#160;            <span class="keywordflow">return</span> NULL;</div>
<div class="line"><a name="l00597"></a><span class="lineno">  597</span>&#160; </div>
<div class="line"><a name="l00598"></a><span class="lineno">  598</span>&#160;        <a class="code" href="a00344.html#ad764390ce9150a55aed33f7a97ab1eb2">InitImcCrit</a>(pClientImc);</div>
<div class="line"><a name="l00599"></a><span class="lineno">  599</span>&#160;        pClientImc-&gt;<a class="code" href="a02057.html#a70474f031ae92bf418f1da00e1cb993c">hImc</a> = hImc;</div>
<div class="line"><a name="l00600"></a><span class="lineno">  600</span>&#160; </div>
<div class="line"><a name="l00601"></a><span class="lineno">  601</span>&#160;        <span class="comment">/*</span></div>
<div class="line"><a name="l00602"></a><span class="lineno">  602</span>&#160;<span class="comment">         * Update the kernel side input context.</span></div>
<div class="line"><a name="l00603"></a><span class="lineno">  603</span>&#160;<span class="comment">         */</span></div>
<div class="line"><a name="l00604"></a><span class="lineno">  604</span>&#160;        <span class="keywordflow">if</span> (!<a class="code" href="a00341.html#aba5c7d55413f1b84e8119dd97a77a859">NtUserUpdateInputContext</a>(hImc,</div>
<div class="line"><a name="l00605"></a><span class="lineno">  605</span>&#160;                <a class="code" href="a00341.html#a518f7d3c040c2f146d39362c0fda3040aa41c5f042b3b8696f1386d895cc09b63">UpdateClientInputContext</a>, (<a class="code" href="a00563.html#a074685e97e89d6aa2accdfcb82328699">DWORD</a>)pClientImc)) {</div>
<div class="line"><a name="l00606"></a><span class="lineno">  606</span>&#160;            <a class="code" href="a00293.html#ae6ef91973c6a6f95f9b95f0c2a7c3315">ImmLocalFree</a>(pClientImc);</div>
<div class="line"><a name="l00607"></a><span class="lineno">  607</span>&#160;            <span class="keywordflow">return</span> NULL;</div>
<div class="line"><a name="l00608"></a><span class="lineno">  608</span>&#160;        }</div>
<div class="line"><a name="l00609"></a><span class="lineno">  609</span>&#160;    }</div>
<div class="line"><a name="l00610"></a><span class="lineno">  610</span>&#160;    <span class="keywordflow">else</span> <span class="keywordflow">if</span> (<a class="code" href="a00293.html#a14c7912f65c80bf423e70d6038ad8a96">TestICF</a>(pClientImc, <a class="code" href="a00341.html#aa4eec6a54814a3fcdca0f205f002e58e">IMCF_INDESTROY</a>)) {</div>
<div class="line"><a name="l00611"></a><span class="lineno">  611</span>&#160;        <span class="comment">/*</span></div>
<div class="line"><a name="l00612"></a><span class="lineno">  612</span>&#160;<span class="comment">         * Cannot access destroyed input context.</span></div>
<div class="line"><a name="l00613"></a><span class="lineno">  613</span>&#160;<span class="comment">         */</span></div>
<div class="line"><a name="l00614"></a><span class="lineno">  614</span>&#160;        <span class="keywordflow">return</span> NULL;</div>
<div class="line"><a name="l00615"></a><span class="lineno">  615</span>&#160;    }</div>
<div class="line"><a name="l00616"></a><span class="lineno">  616</span>&#160; </div>
<div class="line"><a name="l00617"></a><span class="lineno">  617</span>&#160;    InterlockedIncrement(&amp;pClientImc-&gt;<a class="code" href="a02057.html#aaae403638eb994d33c8753ce6083b055">cLockObj</a>);</div>
<div class="line"><a name="l00618"></a><span class="lineno">  618</span>&#160; </div>
<div class="line"><a name="l00619"></a><span class="lineno">  619</span>&#160;    <span class="keywordflow">return</span> pClientImc;        </div>
<div class="line"><a name="l00620"></a><span class="lineno">  620</span>&#160;}</div>
</div><!-- fragment -->
<p class="reference">引用了 <a class="el" href="a00344_source.html#l00026">tagCLIENTIMC::cLockObj</a>, <a class="el" href="a00365_source.html#l01461">tagIMC::dwClientImcData</a>, <a class="el" href="a00563_source.html#l00175">DWORD</a>, <a class="el" href="a00344_source.html#l00024">tagCLIENTIMC::hImc</a>, <a class="el" href="a03752_source.html#l00232">HMValidateHandle()</a>, <a class="el" href="a00341_source.html#l00035">IMCF_INDESTROY</a>, <a class="el" href="a00293_source.html#l00105">ImmLocalAlloc</a>, <a class="el" href="a00293_source.html#l00107">ImmLocalFree</a>, <a class="el" href="a00344_source.html#l00031">InitImcCrit</a>, <a class="el" href="a00341.html#aba5c7d55413f1b84e8119dd97a77a859">NtUserUpdateInputContext()</a>, <a class="el" href="a00341_source.html#l00023">NULL_HIMC</a>, <a class="el" href="a00293_source.html#l00136">TestICF</a>, <a class="el" href="a00311_source.html#l00479">TestInputContextProcess()</a> , 以及 <a class="el" href="a00341_source.html#l00108">UpdateClientInputContext</a>.</p>

<p class="reference">被这些函数引用 <a class="el" href="a00278_source.html#l00371">CreateInputContext()</a>, <a class="el" href="a00278_source.html#l00027">ImmCreateDefaultContext()</a>, <a class="el" href="a00311_source.html#l00135">ImmGenerateMessage()</a>, <a class="el" href="a00281_source.html#l00750">ImmGetCandidateListCountWorker()</a>, <a class="el" href="a00281_source.html#l00883">ImmGetCandidateListWorker()</a>, <a class="el" href="a00281_source.html#l01411">ImmGetCompositionFontA()</a>, <a class="el" href="a00281_source.html#l01471">ImmGetCompositionFontW()</a>, <a class="el" href="a00281_source.html#l00025">ImmGetCompositionStringA()</a>, <a class="el" href="a00281_source.html#l00086">ImmGetCompositionStringW()</a>, <a class="el" href="a00281_source.html#l01038">ImmGetGuideLineWorker()</a>, <a class="el" href="a00311_source.html#l00331">ImmGetIMCLockCount()</a>, <a class="el" href="a00278_source.html#l00193">ImmGetSaveContext()</a>, <a class="el" href="a00311_source.html#l00243">ImmLockIMC()</a>, <a class="el" href="a03287_source.html#l00293">ImmPostMessages()</a>, <a class="el" href="a00278_source.html#l00255">ImmSetActiveContext()</a>, <a class="el" href="a00281_source.html#l01522">ImmSetCompositionFontA()</a>, <a class="el" href="a00281_source.html#l01573">ImmSetCompositionFontW()</a>, <a class="el" href="a00311_source.html#l00302">ImmUnlockIMC()</a> , 以及 <a class="el" href="a00278_source.html#l00597">SelectInputContext()</a>.</p>

</div>
</div>
<a id="a321a0bacc1c67d1fefea199d0c6f4612"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a321a0bacc1c67d1fefea199d0c6f4612">&#9670;&nbsp;</a></span>ImmLockImeDpi()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="a00344.html#a62ef1d2de4f5999445749347090577a3">PIMEDPI</a> WINAPI ImmLockImeDpi </td>
          <td>(</td>
          <td class="paramtype">HKL&#160;</td>
          <td class="paramname"><em>hKL</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p class="definition">在文件 <a class="el" href="a00311_source.html">misc.c</a> 第 <a class="el" href="a00311_source.html#l00649">649</a> 行定义.</p>
<div class="fragment"><div class="line"><a name="l00651"></a><span class="lineno">  651</span>&#160;{</div>
<div class="line"><a name="l00652"></a><span class="lineno">  652</span>&#160;    <a class="code" href="a02061.html">PIMEDPI</a> pImeDpi;</div>
<div class="line"><a name="l00653"></a><span class="lineno">  653</span>&#160; </div>
<div class="line"><a name="l00654"></a><span class="lineno">  654</span>&#160;    RtlEnterCriticalSection(&amp;<a class="code" href="a03254.html#ab7ac3db019078f20fcf82850b103d097">gcsImeDpi</a>);</div>
<div class="line"><a name="l00655"></a><span class="lineno">  655</span>&#160; </div>
<div class="line"><a name="l00656"></a><span class="lineno">  656</span>&#160;    pImeDpi = <a class="code" href="a03254.html#ad8944ae644d08d76a5bac7a209743293">gpImeDpi</a>;</div>
<div class="line"><a name="l00657"></a><span class="lineno">  657</span>&#160; </div>
<div class="line"><a name="l00658"></a><span class="lineno">  658</span>&#160;    <span class="keywordflow">while</span> (pImeDpi != NULL) {</div>
<div class="line"><a name="l00659"></a><span class="lineno">  659</span>&#160;        <span class="keywordflow">if</span> (pImeDpi-&gt;<a class="code" href="a02061.html#a193b0c2e24d821084e237bb1c54e8cc4">hKL</a> == hKL) {</div>
<div class="line"><a name="l00660"></a><span class="lineno">  660</span>&#160;            pImeDpi-&gt;<a class="code" href="a02061.html#a58447d6039150bd4b98c6a9b074d3f59">cLock</a>++;</div>
<div class="line"><a name="l00661"></a><span class="lineno">  661</span>&#160;            <span class="keywordflow">break</span>;</div>
<div class="line"><a name="l00662"></a><span class="lineno">  662</span>&#160;        }</div>
<div class="line"><a name="l00663"></a><span class="lineno">  663</span>&#160;        pImeDpi = pImeDpi-&gt;<a class="code" href="a02061.html#a54a30d705640d134c1e94e8b66fd0325">pNext</a>;</div>
<div class="line"><a name="l00664"></a><span class="lineno">  664</span>&#160;    }</div>
<div class="line"><a name="l00665"></a><span class="lineno">  665</span>&#160; </div>
<div class="line"><a name="l00666"></a><span class="lineno">  666</span>&#160;    RtlLeaveCriticalSection(&amp;<a class="code" href="a03254.html#ab7ac3db019078f20fcf82850b103d097">gcsImeDpi</a>);</div>
<div class="line"><a name="l00667"></a><span class="lineno">  667</span>&#160; </div>
<div class="line"><a name="l00668"></a><span class="lineno">  668</span>&#160;    <span class="keywordflow">return</span> (<a class="code" href="a02061.html">PIMEDPI</a>)pImeDpi;</div>
<div class="line"><a name="l00669"></a><span class="lineno">  669</span>&#160;}</div>
</div><!-- fragment -->
<p class="reference">引用了 <a class="el" href="a00344_source.html#l00069">tagIMEDPI::cLock</a>, <a class="el" href="a03254_source.html#l00020">gcsImeDpi</a>, <a class="el" href="a03254_source.html#l00019">gpImeDpi</a>, <a class="el" href="a00344_source.html#l00066">tagIMEDPI::hKL</a> , 以及 <a class="el" href="a00344_source.html#l00064">tagIMEDPI::pNext</a>.</p>

<p class="reference">被这些函数引用 <a class="el" href="a00167_source.html#l00767">CreateIMEUI()</a>, <a class="el" href="a00278_source.html#l00371">CreateInputContext()</a>, <a class="el" href="a00278_source.html#l00518">DestroyInputContext()</a>, <a class="el" href="a00296_source.html#l00204">FindOrLoadImeDpi()</a>, <a class="el" href="a00323_source.html#l00107">ImmCreateSoftKeyboard()</a>, <a class="el" href="a00296_source.html#l00929">ImmNotifyIME()</a>, <a class="el" href="a03287_source.html#l00023">ImmProcessKey()</a>, <a class="el" href="a00278_source.html#l00255">ImmSetActiveContext()</a>, <a class="el" href="a00281_source.html#l00547">ImmSetCompositionStringWorker()</a>, <a class="el" href="a03287_source.html#l00086">ImmTranslateMessage()</a>, <a class="el" href="a00290_source.html#l00649">JCloseOpen()</a>, <a class="el" href="a00281_source.html#l02918">MakeIMENotify()</a> , 以及 <a class="el" href="a00278_source.html#l00597">SelectInputContext()</a>.</p>

</div>
</div>
<a id="abb97a0d6c03df5af8ddcf02033ef12d8"></a>
<h2 class="memtitle"><span class="permalink"><a href="#abb97a0d6c03df5af8ddcf02033ef12d8">&#9670;&nbsp;</a></span>ImmProcessKey()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="a00563.html#a074685e97e89d6aa2accdfcb82328699">DWORD</a> WINAPI ImmProcessKey </td>
          <td>(</td>
          <td class="paramtype">HWND&#160;</td>
          <td class="paramname"><em>hWnd</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">HIMC&#160;</td>
          <td class="paramname"><em>hIMC</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">HKL&#160;</td>
          <td class="paramname"><em>hkl</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="a03608.html#afd1a0e78d1f88954d93e48ab3821781f">UINT</a>&#160;</td>
          <td class="paramname"><em>uVKey</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">LONG&#160;</td>
          <td class="paramname"><em>lParam</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="a00563.html#a074685e97e89d6aa2accdfcb82328699">DWORD</a>&#160;</td>
          <td class="paramname"><em>dwHotKeyID</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p class="definition">在文件 <a class="el" href="a03287_source.html">imm/input.c</a> 第 <a class="el" href="a03287_source.html#l00023">23</a> 行定义.</p>
<div class="fragment"><div class="line"><a name="l00030"></a><span class="lineno">   30</span>&#160;{</div>
<div class="line"><a name="l00031"></a><span class="lineno">   31</span>&#160;    <a class="code" href="a02061.html">PIMEDPI</a>             pImeDpi;</div>
<div class="line"><a name="l00032"></a><span class="lineno">   32</span>&#160;    PINPUTCONTEXT pInputContext;</div>
<div class="line"><a name="l00033"></a><span class="lineno">   33</span>&#160;    <a class="code" href="a00563.html#a074685e97e89d6aa2accdfcb82328699">DWORD</a>       dwReturn = 0;</div>
<div class="line"><a name="l00034"></a><span class="lineno">   34</span>&#160; </div>
<div class="line"><a name="l00035"></a><span class="lineno">   35</span>&#160; </div>
<div class="line"><a name="l00036"></a><span class="lineno">   36</span>&#160;<span class="comment">//</span></div>
<div class="line"><a name="l00037"></a><span class="lineno">   37</span>&#160;<span class="comment">// call ImeProcessKey</span></div>
<div class="line"><a name="l00038"></a><span class="lineno">   38</span>&#160;<span class="comment">// </span></div>
<div class="line"><a name="l00039"></a><span class="lineno">   39</span>&#160;    pImeDpi = <a class="code" href="a00311.html#a321a0bacc1c67d1fefea199d0c6f4612">ImmLockImeDpi</a>(hkl);</div>
<div class="line"><a name="l00040"></a><span class="lineno">   40</span>&#160;    <span class="keywordflow">if</span> ( pImeDpi != NULL ) {</div>
<div class="line"><a name="l00041"></a><span class="lineno">   41</span>&#160;        pInputContext = <a class="code" href="a00311.html#a93ced286ed15ec806746defb9a3ed34d">ImmLockIMC</a>( hIMC );</div>
<div class="line"><a name="l00042"></a><span class="lineno">   42</span>&#160;        <span class="keywordflow">if</span> ( pInputContext != NULL ) {</div>
<div class="line"><a name="l00043"></a><span class="lineno">   43</span>&#160;            PBYTE pbKeyState;</div>
<div class="line"><a name="l00044"></a><span class="lineno">   44</span>&#160; </div>
<div class="line"><a name="l00045"></a><span class="lineno">   45</span>&#160;            pbKeyState = (PBYTE)LocalAlloc( LMEM_FIXED, 256);</div>
<div class="line"><a name="l00046"></a><span class="lineno">   46</span>&#160;            <span class="keywordflow">if</span> ( pbKeyState != NULL ) {</div>
<div class="line"><a name="l00047"></a><span class="lineno">   47</span>&#160;                <span class="keywordflow">if</span> ( <a class="code" href="a03743.html#ac655051edcf7b8d354320b0bf9cbdd95">GetKeyboardState</a>( pbKeyState ) ) {</div>
<div class="line"><a name="l00048"></a><span class="lineno">   48</span>&#160;                    <span class="keywordflow">if</span> ( (*pImeDpi-&gt;<a class="code" href="a02061.html#a0a773e0cc4dc9fff2db3fa40d0d00ceb">pfn</a>.<a class="code" href="a02065.html#abf8637addd415feb54220fac31f35808">ImeProcessKey</a>)(hIMC, uVKey, lParam, pbKeyState) ) {</div>
<div class="line"><a name="l00049"></a><span class="lineno">   49</span>&#160;                        <span class="comment">//</span></div>
<div class="line"><a name="l00050"></a><span class="lineno">   50</span>&#160;                        <span class="comment">// if the return value of ImeProcessKey is TRUE, </span></div>
<div class="line"><a name="l00051"></a><span class="lineno">   51</span>&#160;                        <span class="comment">// it means the key is the one that the ime is </span></div>
<div class="line"><a name="l00052"></a><span class="lineno">   52</span>&#160;                        <span class="comment">// waiting for.</span></div>
<div class="line"><a name="l00053"></a><span class="lineno">   53</span>&#160;                        <span class="comment">//</span></div>
<div class="line"><a name="l00054"></a><span class="lineno">   54</span>&#160;                        pInputContext-&gt;fChgMsg = TRUE;</div>
<div class="line"><a name="l00055"></a><span class="lineno">   55</span>&#160;                        pInputContext-&gt;uSavedVKey = uVKey;</div>
<div class="line"><a name="l00056"></a><span class="lineno">   56</span>&#160;                        dwReturn |= IPHK_PROCESSBYIME;</div>
<div class="line"><a name="l00057"></a><span class="lineno">   57</span>&#160;                    }</div>
<div class="line"><a name="l00058"></a><span class="lineno">   58</span>&#160;                }</div>
<div class="line"><a name="l00059"></a><span class="lineno">   59</span>&#160;                LocalFree( pbKeyState );</div>
<div class="line"><a name="l00060"></a><span class="lineno">   60</span>&#160;            }</div>
<div class="line"><a name="l00061"></a><span class="lineno">   61</span>&#160;            <a class="code" href="a00311.html#a5d94d0239203482be832b9a8e6f67754">ImmUnlockIMC</a>( hIMC );</div>
<div class="line"><a name="l00062"></a><span class="lineno">   62</span>&#160;        }</div>
<div class="line"><a name="l00063"></a><span class="lineno">   63</span>&#160;        <a class="code" href="a00311.html#a476139459ee89728a91d341e1b72fb39">ImmUnlockImeDpi</a>(pImeDpi);</div>
<div class="line"><a name="l00064"></a><span class="lineno">   64</span>&#160;    }</div>
<div class="line"><a name="l00065"></a><span class="lineno">   65</span>&#160;<span class="comment">//</span></div>
<div class="line"><a name="l00066"></a><span class="lineno">   66</span>&#160;<span class="comment">// call hotkey handler</span></div>
<div class="line"><a name="l00067"></a><span class="lineno">   67</span>&#160;<span class="comment">//</span></div>
<div class="line"><a name="l00068"></a><span class="lineno">   68</span>&#160;    <span class="keywordflow">if</span> ( dwHotKeyID != IME_INVALID_HOTKEY &amp;&amp;</div>
<div class="line"><a name="l00069"></a><span class="lineno">   69</span>&#160;         <a class="code" href="a00290.html#a159f161f022ec8eb7ab7feaed3462dac">HotKeyIDDispatcher</a>( hWnd, hIMC, hkl, dwHotKeyID) ) </div>
<div class="line"><a name="l00070"></a><span class="lineno">   70</span>&#160;    {</div>
<div class="line"><a name="l00071"></a><span class="lineno">   71</span>&#160;        dwReturn |= IPHK_HOTKEY;</div>
<div class="line"><a name="l00072"></a><span class="lineno">   72</span>&#160;    }</div>
<div class="line"><a name="l00073"></a><span class="lineno">   73</span>&#160;    <span class="keywordflow">return</span> dwReturn;</div>
<div class="line"><a name="l00074"></a><span class="lineno">   74</span>&#160;}</div>
</div><!-- fragment -->
<p class="reference">引用了 <a class="el" href="a00563_source.html#l00175">DWORD</a>, <a class="el" href="a03743_source.html#l00301">GetKeyboardState()</a>, <a class="el" href="a00290_source.html#l00591">HotKeyIDDispatcher()</a>, <a class="el" href="a00344_source.html#l00081">tagIMEDPI::_tagImeFunctions::ImeProcessKey</a>, <a class="el" href="a00311_source.html#l00243">ImmLockIMC()</a>, <a class="el" href="a00311_source.html#l00649">ImmLockImeDpi()</a>, <a class="el" href="a00311_source.html#l00302">ImmUnlockIMC()</a>, <a class="el" href="a00311_source.html#l00678">ImmUnlockImeDpi()</a> , 以及 <a class="el" href="a02061.html#a0a773e0cc4dc9fff2db3fa40d0d00ceb">tagIMEDPI::pfn</a>.</p>

</div>
</div>
<a id="a23a438551d2eb11e0888f95995d3ff1e"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a23a438551d2eb11e0888f95995d3ff1e">&#9670;&nbsp;</a></span>ImmSetActiveContext()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">BOOL ImmSetActiveContext </td>
          <td>(</td>
          <td class="paramtype">HWND&#160;</td>
          <td class="paramname"><em>hWnd</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">HIMC&#160;</td>
          <td class="paramname"><em>hImc</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">BOOL&#160;</td>
          <td class="paramname"><em>fActivate</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p class="definition">在文件 <a class="el" href="a00278_source.html">context.c</a> 第 <a class="el" href="a00278_source.html#l00255">255</a> 行定义.</p>
<div class="fragment"><div class="line"><a name="l00259"></a><span class="lineno">  259</span>&#160;{</div>
<div class="line"><a name="l00260"></a><span class="lineno">  260</span>&#160;    <a class="code" href="a02057.html">PCLIENTIMC</a>    pClientImc;</div>
<div class="line"><a name="l00261"></a><span class="lineno">  261</span>&#160;    PINPUTCONTEXT pInputContext;</div>
<div class="line"><a name="l00262"></a><span class="lineno">  262</span>&#160;    <a class="code" href="a02061.html">PIMEDPI</a>       pImeDpi;</div>
<div class="line"><a name="l00263"></a><span class="lineno">  263</span>&#160;    <a class="code" href="a00563.html#a074685e97e89d6aa2accdfcb82328699">DWORD</a>         dwISC;</div>
<div class="line"><a name="l00264"></a><span class="lineno">  264</span>&#160;    HIMC          hSaveImc;</div>
<div class="line"><a name="l00265"></a><span class="lineno">  265</span>&#160;    HWND          hDefImeWnd;</div>
<div class="line"><a name="l00266"></a><span class="lineno">  266</span>&#160;<span class="preprocessor">#ifdef DEBUG</span></div>
<div class="line"><a name="l00267"></a><span class="lineno">  267</span>&#160;    <a class="code" href="a02581.html">PWND</a>          pWnd = <a class="code" href="a00293.html#a41d387d1b2d42169cbaa2092c8a02abf">ValidateHwnd</a>(hWnd);</div>
<div class="line"><a name="l00268"></a><span class="lineno">  268</span>&#160; </div>
<div class="line"><a name="l00269"></a><span class="lineno">  269</span>&#160;    <span class="keywordflow">if</span> (pWnd != NULL &amp;&amp; GETPTI(pWnd) != <a class="code" href="a00257.html#a8315d2c807ba18ba9e528c40614b6173">PtiCurrent</a>()) {</div>
<div class="line"><a name="l00270"></a><span class="lineno">  270</span>&#160;        <a class="code" href="a00371.html#a31aafffb49dfe98bdc749c9b35c90162">RIPMSG1</a>(<a class="code" href="a00371.html#a41f433389f20db57f042022a662e96de">RIP_WARNING</a>, <span class="stringliteral">&quot;hWnd (=%lx) is not of current thread.&quot;</span>, hWnd);</div>
<div class="line"><a name="l00271"></a><span class="lineno">  271</span>&#160;    }</div>
<div class="line"><a name="l00272"></a><span class="lineno">  272</span>&#160;<span class="preprocessor">#endif</span></div>
<div class="line"><a name="l00273"></a><span class="lineno">  273</span>&#160; </div>
<div class="line"><a name="l00274"></a><span class="lineno">  274</span>&#160;    dwISC = ISC_SHOWUIALL;</div>
<div class="line"><a name="l00275"></a><span class="lineno">  275</span>&#160; </div>
<div class="line"><a name="l00276"></a><span class="lineno">  276</span>&#160;    pClientImc = <a class="code" href="a00311.html#abad0a50d57502d3e8ec482dd68997ad9">ImmLockClientImc</a>(hImc);</div>
<div class="line"><a name="l00277"></a><span class="lineno">  277</span>&#160; </div>
<div class="line"><a name="l00278"></a><span class="lineno">  278</span>&#160;    <span class="keywordflow">if</span> (!fActivate) {</div>
<div class="line"><a name="l00279"></a><span class="lineno">  279</span>&#160;        <span class="keywordflow">if</span> (pClientImc != NULL)</div>
<div class="line"><a name="l00280"></a><span class="lineno">  280</span>&#160;            <a class="code" href="a00293.html#a6a2bb78ecf5a1bdd3c1d5d1710ccd011">ClrICF</a>(pClientImc, <a class="code" href="a00341.html#a55e2791b31f3a4a6bf80bddaed777430">IMCF_ACTIVE</a>);</div>
<div class="line"><a name="l00281"></a><span class="lineno">  281</span>&#160;        <span class="keywordflow">goto</span> NotifySetActive;</div>
<div class="line"><a name="l00282"></a><span class="lineno">  282</span>&#160;    }</div>
<div class="line"><a name="l00283"></a><span class="lineno">  283</span>&#160; </div>
<div class="line"><a name="l00284"></a><span class="lineno">  284</span>&#160;    <span class="keywordflow">if</span> (hImc == <a class="code" href="a00341.html#a93b9a7f7677934defcd03ca2c4d41ffa">NULL_HIMC</a>) {</div>
<div class="line"><a name="l00285"></a><span class="lineno">  285</span>&#160;        hSaveImc = <a class="code" href="a00278.html#a3962340083a02a80746fd608a07b5fd9">ImmGetSaveContext</a>(hWnd, 0);</div>
<div class="line"><a name="l00286"></a><span class="lineno">  286</span>&#160;        pInputContext = <a class="code" href="a00311.html#a93ced286ed15ec806746defb9a3ed34d">ImmLockIMC</a>(hSaveImc);</div>
<div class="line"><a name="l00287"></a><span class="lineno">  287</span>&#160;        <span class="keywordflow">if</span> (pInputContext != NULL) {</div>
<div class="line"><a name="l00288"></a><span class="lineno">  288</span>&#160;            pInputContext-&gt;hWnd = hWnd;</div>
<div class="line"><a name="l00289"></a><span class="lineno">  289</span>&#160;            <a class="code" href="a00311.html#a5d94d0239203482be832b9a8e6f67754">ImmUnlockIMC</a>(hSaveImc);</div>
<div class="line"><a name="l00290"></a><span class="lineno">  290</span>&#160;        }</div>
<div class="line"><a name="l00291"></a><span class="lineno">  291</span>&#160;        <span class="keywordflow">goto</span> NotifySetActive;</div>
<div class="line"><a name="l00292"></a><span class="lineno">  292</span>&#160;    }</div>
<div class="line"><a name="l00293"></a><span class="lineno">  293</span>&#160; </div>
<div class="line"><a name="l00294"></a><span class="lineno">  294</span>&#160;    <span class="comment">/*</span></div>
<div class="line"><a name="l00295"></a><span class="lineno">  295</span>&#160;<span class="comment">     * Non-NULL input context, window handle have to be updated.</span></div>
<div class="line"><a name="l00296"></a><span class="lineno">  296</span>&#160;<span class="comment">     */</span></div>
<div class="line"><a name="l00297"></a><span class="lineno">  297</span>&#160;    <span class="keywordflow">if</span> (pClientImc == NULL)</div>
<div class="line"><a name="l00298"></a><span class="lineno">  298</span>&#160;        <span class="keywordflow">return</span> FALSE;</div>
<div class="line"><a name="l00299"></a><span class="lineno">  299</span>&#160; </div>
<div class="line"><a name="l00300"></a><span class="lineno">  300</span>&#160;    pInputContext = <a class="code" href="a00311.html#a93ced286ed15ec806746defb9a3ed34d">ImmLockIMC</a>(hImc);</div>
<div class="line"><a name="l00301"></a><span class="lineno">  301</span>&#160;    <span class="keywordflow">if</span> (pInputContext == NULL) {</div>
<div class="line"><a name="l00302"></a><span class="lineno">  302</span>&#160;        <a class="code" href="a00311.html#a9488726a81b957d10975e322e12b13e0">ImmUnlockClientImc</a>(pClientImc);</div>
<div class="line"><a name="l00303"></a><span class="lineno">  303</span>&#160;        <span class="keywordflow">return</span> FALSE;</div>
<div class="line"><a name="l00304"></a><span class="lineno">  304</span>&#160;    }</div>
<div class="line"><a name="l00305"></a><span class="lineno">  305</span>&#160; </div>
<div class="line"><a name="l00306"></a><span class="lineno">  306</span>&#160;    pInputContext-&gt;hWnd = hWnd;</div>
<div class="line"><a name="l00307"></a><span class="lineno">  307</span>&#160;    <a class="code" href="a00293.html#ac9a8b2084b3f85ce62924981d68efa1e">SetICF</a>(pClientImc, <a class="code" href="a00341.html#a55e2791b31f3a4a6bf80bddaed777430">IMCF_ACTIVE</a>);</div>
<div class="line"><a name="l00308"></a><span class="lineno">  308</span>&#160; </div>
<div class="line"><a name="l00309"></a><span class="lineno">  309</span>&#160;<span class="preprocessor">#ifdef LATER</span></div>
<div class="line"><a name="l00310"></a><span class="lineno">  310</span>&#160;    <span class="comment">// Do uNumLangVKey checking later</span></div>
<div class="line"><a name="l00311"></a><span class="lineno">  311</span>&#160;<span class="preprocessor">#endif</span></div>
<div class="line"><a name="l00312"></a><span class="lineno">  312</span>&#160; </div>
<div class="line"><a name="l00313"></a><span class="lineno">  313</span>&#160;    <span class="keywordflow">if</span> (pInputContext-&gt;fdw31Compat &amp; F31COMPAT_MCWHIDDEN)</div>
<div class="line"><a name="l00314"></a><span class="lineno">  314</span>&#160;        dwISC = ISC_SHOWUIALL - ISC_SHOWUICOMPOSITIONWINDOW;</div>
<div class="line"><a name="l00315"></a><span class="lineno">  315</span>&#160; </div>
<div class="line"><a name="l00316"></a><span class="lineno">  316</span>&#160;    <a class="code" href="a00311.html#a5d94d0239203482be832b9a8e6f67754">ImmUnlockIMC</a>(hImc);</div>
<div class="line"><a name="l00317"></a><span class="lineno">  317</span>&#160; </div>
<div class="line"><a name="l00318"></a><span class="lineno">  318</span>&#160;NotifySetActive:</div>
<div class="line"><a name="l00319"></a><span class="lineno">  319</span>&#160; </div>
<div class="line"><a name="l00320"></a><span class="lineno">  320</span>&#160;    <span class="keywordflow">if</span> (hImc != <a class="code" href="a00341.html#a93b9a7f7677934defcd03ca2c4d41ffa">NULL_HIMC</a>) {</div>
<div class="line"><a name="l00321"></a><span class="lineno">  321</span>&#160;        pImeDpi = <a class="code" href="a00311.html#a321a0bacc1c67d1fefea199d0c6f4612">ImmLockImeDpi</a>(<a class="code" href="a00026.html#a46278f8b1db32b9b4679eee6abc9e1b4">GetKeyboardLayout</a>(0));</div>
<div class="line"><a name="l00322"></a><span class="lineno">  322</span>&#160;        <span class="keywordflow">if</span> (pImeDpi != NULL) {</div>
<div class="line"><a name="l00323"></a><span class="lineno">  323</span>&#160;            (*pImeDpi-&gt;<a class="code" href="a02061.html#a0a773e0cc4dc9fff2db3fa40d0d00ceb">pfn</a>.<a class="code" href="a02065.html#a23a1d077a6e2e0b9cd302984dd69f445">ImeSetActiveContext</a>)(hImc, fActivate);</div>
<div class="line"><a name="l00324"></a><span class="lineno">  324</span>&#160;            <a class="code" href="a00311.html#a476139459ee89728a91d341e1b72fb39">ImmUnlockImeDpi</a>(pImeDpi);</div>
<div class="line"><a name="l00325"></a><span class="lineno">  325</span>&#160;        }</div>
<div class="line"><a name="l00326"></a><span class="lineno">  326</span>&#160;    }</div>
<div class="line"><a name="l00327"></a><span class="lineno">  327</span>&#160; </div>
<div class="line"><a name="l00328"></a><span class="lineno">  328</span>&#160;    <span class="comment">/*</span></div>
<div class="line"><a name="l00329"></a><span class="lineno">  329</span>&#160;<span class="comment">     * Notify UI</span></div>
<div class="line"><a name="l00330"></a><span class="lineno">  330</span>&#160;<span class="comment">     */</span></div>
<div class="line"><a name="l00331"></a><span class="lineno">  331</span>&#160;    <span class="keywordflow">if</span> (<a class="code" href="a03743.html#ac5ede70e870dc1cf540d7524887e4edc">IsWindow</a>(hWnd)) {</div>
<div class="line"><a name="l00332"></a><span class="lineno">  332</span>&#160;        SendMessage(hWnd, WM_IME_SETCONTEXT, fActivate, dwISC);</div>
<div class="line"><a name="l00333"></a><span class="lineno">  333</span>&#160;    }</div>
<div class="line"><a name="l00334"></a><span class="lineno">  334</span>&#160;    <span class="keywordflow">else</span> <span class="keywordflow">if</span> (!fActivate) {</div>
<div class="line"><a name="l00335"></a><span class="lineno">  335</span>&#160;        <span class="comment">/*</span></div>
<div class="line"><a name="l00336"></a><span class="lineno">  336</span>&#160;<span class="comment">         * Because hWnd is not there (maybe destroyed), we send </span></div>
<div class="line"><a name="l00337"></a><span class="lineno">  337</span>&#160;<span class="comment">         * WM_IME_SETCONTEXT to the default IME window.</span></div>
<div class="line"><a name="l00338"></a><span class="lineno">  338</span>&#160;<span class="comment">         */</span></div>
<div class="line"><a name="l00339"></a><span class="lineno">  339</span>&#160;        <span class="keywordflow">if</span> ((hDefImeWnd = <a class="code" href="a00311.html#a30f5ab809b5e01066c0c3916a81c3489">ImmGetDefaultIMEWnd</a>(NULL)) != NULL) {</div>
<div class="line"><a name="l00340"></a><span class="lineno">  340</span>&#160;            SendMessage(hDefImeWnd, WM_IME_SETCONTEXT, fActivate, dwISC);</div>
<div class="line"><a name="l00341"></a><span class="lineno">  341</span>&#160;        }</div>
<div class="line"><a name="l00342"></a><span class="lineno">  342</span>&#160;        <span class="keywordflow">else</span> {</div>
<div class="line"><a name="l00343"></a><span class="lineno">  343</span>&#160;            <a class="code" href="a00371.html#a01c4659626880ba56745765a3580a36b">RIPMSG0</a>(<a class="code" href="a00371.html#a41f433389f20db57f042022a662e96de">RIP_WARNING</a>,</div>
<div class="line"><a name="l00344"></a><span class="lineno">  344</span>&#160;                  <span class="stringliteral">&quot;ImmSetActiveContext: can&#39;t send WM_IME_SETCONTEXT(FALSE).&quot;</span>);</div>
<div class="line"><a name="l00345"></a><span class="lineno">  345</span>&#160;        }</div>
<div class="line"><a name="l00346"></a><span class="lineno">  346</span>&#160;    }</div>
<div class="line"><a name="l00347"></a><span class="lineno">  347</span>&#160;<span class="preprocessor">#ifdef DEBUG</span></div>
<div class="line"><a name="l00348"></a><span class="lineno">  348</span>&#160;    <span class="keywordflow">else</span> {</div>
<div class="line"><a name="l00349"></a><span class="lineno">  349</span>&#160;        <a class="code" href="a00371.html#a01c4659626880ba56745765a3580a36b">RIPMSG0</a>(<a class="code" href="a00371.html#a41f433389f20db57f042022a662e96de">RIP_WARNING</a>,</div>
<div class="line"><a name="l00350"></a><span class="lineno">  350</span>&#160;              <span class="stringliteral">&quot;ImmSetActiveContext: can&#39;t send WM_IME_SETCONTEXT(TRUE).&quot;</span>);</div>
<div class="line"><a name="l00351"></a><span class="lineno">  351</span>&#160;    }</div>
<div class="line"><a name="l00352"></a><span class="lineno">  352</span>&#160;<span class="preprocessor">#endif</span></div>
<div class="line"><a name="l00353"></a><span class="lineno">  353</span>&#160; </div>
<div class="line"><a name="l00354"></a><span class="lineno">  354</span>&#160;<span class="preprocessor">#ifdef LATER</span></div>
<div class="line"><a name="l00355"></a><span class="lineno">  355</span>&#160;    <span class="comment">// Implements ProcessIMCEvent() later.</span></div>
<div class="line"><a name="l00356"></a><span class="lineno">  356</span>&#160;<span class="preprocessor">#endif</span></div>
<div class="line"><a name="l00357"></a><span class="lineno">  357</span>&#160; </div>
<div class="line"><a name="l00358"></a><span class="lineno">  358</span>&#160;    <span class="keywordflow">if</span> (pClientImc != NULL)</div>
<div class="line"><a name="l00359"></a><span class="lineno">  359</span>&#160;        <a class="code" href="a00311.html#a9488726a81b957d10975e322e12b13e0">ImmUnlockClientImc</a>(pClientImc);</div>
<div class="line"><a name="l00360"></a><span class="lineno">  360</span>&#160; </div>
<div class="line"><a name="l00361"></a><span class="lineno">  361</span>&#160;    <span class="keywordflow">return</span> TRUE;</div>
<div class="line"><a name="l00362"></a><span class="lineno">  362</span>&#160;}</div>
</div><!-- fragment -->
<p class="reference">引用了 <a class="el" href="a00293_source.html#l00134">ClrICF</a>, <a class="el" href="a00563_source.html#l00175">DWORD</a>, <a class="el" href="a00026_source.html#l03732">GetKeyboardLayout()</a>, <a class="el" href="a00341_source.html#l00030">IMCF_ACTIVE</a>, <a class="el" href="a00344_source.html#l00083">tagIMEDPI::_tagImeFunctions::ImeSetActiveContext</a>, <a class="el" href="a00311_source.html#l00021">ImmGetDefaultIMEWnd()</a>, <a class="el" href="a00278_source.html#l00193">ImmGetSaveContext()</a>, <a class="el" href="a00311_source.html#l00570">ImmLockClientImc()</a>, <a class="el" href="a00311_source.html#l00243">ImmLockIMC()</a>, <a class="el" href="a00311_source.html#l00649">ImmLockImeDpi()</a>, <a class="el" href="a00311_source.html#l00623">ImmUnlockClientImc()</a>, <a class="el" href="a00311_source.html#l00302">ImmUnlockIMC()</a>, <a class="el" href="a00311_source.html#l00678">ImmUnlockImeDpi()</a>, <a class="el" href="a03743_source.html#l00421">IsWindow()</a>, <a class="el" href="a00341_source.html#l00023">NULL_HIMC</a>, <a class="el" href="a02061.html#a0a773e0cc4dc9fff2db3fa40d0d00ceb">tagIMEDPI::pfn</a>, <a class="el" href="a00263_source.html#l00526">PtiCurrent()</a>, <a class="el" href="a00371_source.html#l00029">RIP_WARNING</a>, <a class="el" href="a00371_source.html#l00131">RIPMSG0</a>, <a class="el" href="a00371_source.html#l00132">RIPMSG1</a>, <a class="el" href="a00293_source.html#l00132">SetICF</a> , 以及 <a class="el" href="a00293_source.html#l00090">ValidateHwnd</a>.</p>

<p class="reference">被这些函数引用 <a class="el" href="a00167_source.html#l00966">FocusSetIMCContext()</a> , 以及 <a class="el" href="a00278_source.html#l00107">ImmAssociateContext()</a>.</p>

</div>
</div>
<a id="a64204fa04498ea04e098127aa6b121dc"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a64204fa04498ea04e098127aa6b121dc">&#9670;&nbsp;</a></span>ImmTranslateMessage()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">BOOL ImmTranslateMessage </td>
          <td>(</td>
          <td class="paramtype">HWND&#160;</td>
          <td class="paramname"><em>hwnd</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="a03608.html#afd1a0e78d1f88954d93e48ab3821781f">UINT</a>&#160;</td>
          <td class="paramname"><em>message</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">WPARAM&#160;</td>
          <td class="paramname"><em>wParam</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">LPARAM&#160;</td>
          <td class="paramname"><em>lParam</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p class="definition">在文件 <a class="el" href="a03287_source.html">imm/input.c</a> 第 <a class="el" href="a03287_source.html#l00086">86</a> 行定义.</p>
<div class="fragment"><div class="line"><a name="l00091"></a><span class="lineno">   91</span>&#160;{</div>
<div class="line"><a name="l00092"></a><span class="lineno">   92</span>&#160;    HIMC hImc;</div>
<div class="line"><a name="l00093"></a><span class="lineno">   93</span>&#160;    PINPUTCONTEXT pInputContext;</div>
<div class="line"><a name="l00094"></a><span class="lineno">   94</span>&#160;    BOOL fReturn = FALSE;</div>
<div class="line"><a name="l00095"></a><span class="lineno">   95</span>&#160;    HKL  hkl;</div>
<div class="line"><a name="l00096"></a><span class="lineno">   96</span>&#160;    <a class="code" href="a02061.html">PIMEDPI</a>             pImeDpi;</div>
<div class="line"><a name="l00097"></a><span class="lineno">   97</span>&#160;    PBYTE pbKeyState;</div>
<div class="line"><a name="l00098"></a><span class="lineno">   98</span>&#160;    PDWORD pdwTransBuf;</div>
<div class="line"><a name="l00099"></a><span class="lineno">   99</span>&#160;    <a class="code" href="a02053.html">IMEINFOEX</a> iiex;</div>
<div class="line"><a name="l00100"></a><span class="lineno">  100</span>&#160;    <a class="code" href="a02053.html">PIMEINFOEX</a> piiex;</div>
<div class="line"><a name="l00101"></a><span class="lineno">  101</span>&#160;    <a class="code" href="a03608.html#afd1a0e78d1f88954d93e48ab3821781f">UINT</a> uVKey;</div>
<div class="line"><a name="l00102"></a><span class="lineno">  102</span>&#160;    <a class="code" href="a00953.html#a392e62da233ed3e2f7c3fd4f487a3896">INT</a> iNum;</div>
<div class="line"><a name="l00103"></a><span class="lineno">  103</span>&#160;    <a class="code" href="a00953.html#a392e62da233ed3e2f7c3fd4f487a3896">INT</a> MessageCount = <a class="code" href="a03287.html#ae2e86b0ac3aac4aca07c36d6916bfcf0">TRANSMSGCOUNT</a>;</div>
<div class="line"><a name="l00104"></a><span class="lineno">  104</span>&#160; </div>
<div class="line"><a name="l00105"></a><span class="lineno">  105</span>&#160;    <span class="comment">//</span></div>
<div class="line"><a name="l00106"></a><span class="lineno">  106</span>&#160;    <span class="comment">// we&#39;re interested in only those keyboard messages.</span></div>
<div class="line"><a name="l00107"></a><span class="lineno">  107</span>&#160;    <span class="comment">//</span></div>
<div class="line"><a name="l00108"></a><span class="lineno">  108</span>&#160;    <span class="keywordflow">switch</span> (message) {</div>
<div class="line"><a name="l00109"></a><span class="lineno">  109</span>&#160;    <span class="keywordflow">case</span> WM_KEYDOWN:</div>
<div class="line"><a name="l00110"></a><span class="lineno">  110</span>&#160;    <span class="keywordflow">case</span> WM_KEYUP:</div>
<div class="line"><a name="l00111"></a><span class="lineno">  111</span>&#160;    <span class="keywordflow">case</span> WM_SYSKEYDOWN:</div>
<div class="line"><a name="l00112"></a><span class="lineno">  112</span>&#160;    <span class="keywordflow">case</span> WM_SYSKEYUP:</div>
<div class="line"><a name="l00113"></a><span class="lineno">  113</span>&#160;        <span class="keywordflow">break</span>;</div>
<div class="line"><a name="l00114"></a><span class="lineno">  114</span>&#160;    <span class="keywordflow">default</span>:</div>
<div class="line"><a name="l00115"></a><span class="lineno">  115</span>&#160;        <span class="keywordflow">return</span> FALSE;</div>
<div class="line"><a name="l00116"></a><span class="lineno">  116</span>&#160;    }</div>
<div class="line"><a name="l00117"></a><span class="lineno">  117</span>&#160;   </div>
<div class="line"><a name="l00118"></a><span class="lineno">  118</span>&#160;    <span class="comment">//</span></div>
<div class="line"><a name="l00119"></a><span class="lineno">  119</span>&#160;    <span class="comment">// input context is necessary for further handling</span></div>
<div class="line"><a name="l00120"></a><span class="lineno">  120</span>&#160;    <span class="comment">//</span></div>
<div class="line"><a name="l00121"></a><span class="lineno">  121</span>&#160;    hImc = <a class="code" href="a00278.html#a3027828ace11569163557dd87e67dc5c">ImmGetContext</a>( hwnd );</div>
<div class="line"><a name="l00122"></a><span class="lineno">  122</span>&#160;    pInputContext = <a class="code" href="a00311.html#a93ced286ed15ec806746defb9a3ed34d">ImmLockIMC</a>( hImc );</div>
<div class="line"><a name="l00123"></a><span class="lineno">  123</span>&#160;    <span class="keywordflow">if</span> ( pInputContext == NULL ) {</div>
<div class="line"><a name="l00124"></a><span class="lineno">  124</span>&#160;        <a class="code" href="a00278.html#a98caf7280de9b3aaab8a101b827a1183">ImmReleaseContext</a>( hwnd, hImc );</div>
<div class="line"><a name="l00125"></a><span class="lineno">  125</span>&#160;        <span class="keywordflow">return</span> FALSE;</div>
<div class="line"><a name="l00126"></a><span class="lineno">  126</span>&#160;    }</div>
<div class="line"><a name="l00127"></a><span class="lineno">  127</span>&#160; </div>
<div class="line"><a name="l00128"></a><span class="lineno">  128</span>&#160;    <span class="comment">//</span></div>
<div class="line"><a name="l00129"></a><span class="lineno">  129</span>&#160;    <span class="comment">// At first, handle VK_PROCESSKEY generated by IME.</span></div>
<div class="line"><a name="l00130"></a><span class="lineno">  130</span>&#160;    <span class="comment">//</span></div>
<div class="line"><a name="l00131"></a><span class="lineno">  131</span>&#160;    <span class="keywordflow">if</span> ( ! pInputContext-&gt;fChgMsg ) {</div>
<div class="line"><a name="l00132"></a><span class="lineno">  132</span>&#160; </div>
<div class="line"><a name="l00133"></a><span class="lineno">  133</span>&#160;        <span class="keywordflow">if</span> ( (iNum=pInputContext-&gt;dwNumMsgBuf) != 0 ) {</div>
<div class="line"><a name="l00134"></a><span class="lineno">  134</span>&#160;            PDWORD pdwt;</div>
<div class="line"><a name="l00135"></a><span class="lineno">  135</span>&#160;            PDWORD pdwt2;</div>
<div class="line"><a name="l00136"></a><span class="lineno">  136</span>&#160; </div>
<div class="line"><a name="l00137"></a><span class="lineno">  137</span>&#160;            pdwt = (PDWORD)<a class="code" href="a00311.html#a02ff95b5201786b482e825455b481f51">ImmLockIMCC</a>(pInputContext-&gt;hMsgBuf);</div>
<div class="line"><a name="l00138"></a><span class="lineno">  138</span>&#160;            <span class="keywordflow">if</span> ( pdwt != NULL ) {</div>
<div class="line"><a name="l00139"></a><span class="lineno">  139</span>&#160;                <a class="code" href="a00953.html#a392e62da233ed3e2f7c3fd4f487a3896">INT</a> cbBuf = (iNum * 3 ) * <span class="keyword">sizeof</span>(<a class="code" href="a00563.html#a074685e97e89d6aa2accdfcb82328699">DWORD</a>);</div>
<div class="line"><a name="l00140"></a><span class="lineno">  140</span>&#160;                <span class="comment">//</span></div>
<div class="line"><a name="l00141"></a><span class="lineno">  141</span>&#160;                <span class="comment">// LATER : allocating a temporary buffer</span></div>
<div class="line"><a name="l00142"></a><span class="lineno">  142</span>&#160;                <span class="comment">//         is not needed for 4.x application</span></div>
<div class="line"><a name="l00143"></a><span class="lineno">  143</span>&#160;                <span class="comment">//</span></div>
<div class="line"><a name="l00144"></a><span class="lineno">  144</span>&#160;                pdwt2 = LocalAlloc( LMEM_FIXED, cbBuf );</div>
<div class="line"><a name="l00145"></a><span class="lineno">  145</span>&#160;                <span class="keywordflow">if</span> ( pdwt2 != NULL ) {</div>
<div class="line"><a name="l00146"></a><span class="lineno">  146</span>&#160;                    RtlCopyMemory( pdwt2, pdwt, cbBuf );</div>
<div class="line"><a name="l00147"></a><span class="lineno">  147</span>&#160;                    <a class="code" href="a03287.html#a47240ee9807bb53bcf4f2bf62f271d1f">ImmPostMessages</a>( hwnd,  hImc, iNum, pdwt2);</div>
<div class="line"><a name="l00148"></a><span class="lineno">  148</span>&#160;                    LocalFree( pdwt2 );</div>
<div class="line"><a name="l00149"></a><span class="lineno">  149</span>&#160;                    fReturn = TRUE;</div>
<div class="line"><a name="l00150"></a><span class="lineno">  150</span>&#160;                }</div>
<div class="line"><a name="l00151"></a><span class="lineno">  151</span>&#160;                <a class="code" href="a00311.html#a4363eede481a6941c0b440711a64442c">ImmUnlockIMCC</a>(pInputContext-&gt;hMsgBuf);</div>
<div class="line"><a name="l00152"></a><span class="lineno">  152</span>&#160;            }</div>
<div class="line"><a name="l00153"></a><span class="lineno">  153</span>&#160;            pInputContext-&gt;dwNumMsgBuf = 0;</div>
<div class="line"><a name="l00154"></a><span class="lineno">  154</span>&#160;        }</div>
<div class="line"><a name="l00155"></a><span class="lineno">  155</span>&#160;        <span class="keywordflow">goto</span> ExitITM;</div>
<div class="line"><a name="l00156"></a><span class="lineno">  156</span>&#160;    }</div>
<div class="line"><a name="l00157"></a><span class="lineno">  157</span>&#160;    pInputContext-&gt;fChgMsg = FALSE;</div>
<div class="line"><a name="l00158"></a><span class="lineno">  158</span>&#160; </div>
<div class="line"><a name="l00159"></a><span class="lineno">  159</span>&#160;    <span class="comment">//</span></div>
<div class="line"><a name="l00160"></a><span class="lineno">  160</span>&#160;    <span class="comment">// retrieve the keyboard layout and IME entry points</span></div>
<div class="line"><a name="l00161"></a><span class="lineno">  161</span>&#160;    <span class="comment">//</span></div>
<div class="line"><a name="l00162"></a><span class="lineno">  162</span>&#160;    hkl = <a class="code" href="a00026.html#a46278f8b1db32b9b4679eee6abc9e1b4">GetKeyboardLayout</a>( <a class="code" href="a00263.html#a1dc37c01a43d34053e1dbf4ee8e0da0a">GetWindowThreadProcessId</a>(hwnd, NULL) );</div>
<div class="line"><a name="l00163"></a><span class="lineno">  163</span>&#160;    pImeDpi = <a class="code" href="a00311.html#a321a0bacc1c67d1fefea199d0c6f4612">ImmLockImeDpi</a>(hkl);</div>
<div class="line"><a name="l00164"></a><span class="lineno">  164</span>&#160;    <span class="keywordflow">if</span> ( pImeDpi == NULL ) {</div>
<div class="line"><a name="l00165"></a><span class="lineno">  165</span>&#160;        <a class="code" href="a00371.html#a31aafffb49dfe98bdc749c9b35c90162">RIPMSG1</a>(<a class="code" href="a00371.html#a41f433389f20db57f042022a662e96de">RIP_WARNING</a>, <span class="stringliteral">&quot;ImmTranslateMessage pImeDpi is NULL(hkl=%x)&quot;</span>, hkl);</div>
<div class="line"><a name="l00166"></a><span class="lineno">  166</span>&#160;        <span class="keywordflow">goto</span> ExitITM;</div>
<div class="line"><a name="l00167"></a><span class="lineno">  167</span>&#160;    }</div>
<div class="line"><a name="l00168"></a><span class="lineno">  168</span>&#160;  </div>
<div class="line"><a name="l00169"></a><span class="lineno">  169</span>&#160;    <span class="comment">//</span></div>
<div class="line"><a name="l00170"></a><span class="lineno">  170</span>&#160;    <span class="comment">// get IME info</span></div>
<div class="line"><a name="l00171"></a><span class="lineno">  171</span>&#160;    <span class="comment">//</span></div>
<div class="line"><a name="l00172"></a><span class="lineno">  172</span>&#160;    piiex = &amp;iiex;</div>
<div class="line"><a name="l00173"></a><span class="lineno">  173</span>&#160;    <span class="keywordflow">if</span> ( ! <a class="code" href="a00311.html#adbb6236f980a6faaacadbe634b25bbe2">ImmGetImeInfoEx</a>(piiex, <a class="code" href="a00341.html#ac899aa88e02c855ed80c85ccef785080a8f18818e788e4836e1e1a7bedad609f3">ImeInfoExKeyboardLayout</a>, (PVOID)&amp;hkl) ) {</div>
<div class="line"><a name="l00174"></a><span class="lineno">  174</span>&#160;        <a class="code" href="a00371.html#a01c4659626880ba56745765a3580a36b">RIPMSG0</a>(<a class="code" href="a00371.html#a41f433389f20db57f042022a662e96de">RIP_WARNING</a>, <span class="stringliteral">&quot;ImmTranslateMessage ImmGetImeInfoEx failed&quot;</span> );</div>
<div class="line"><a name="l00175"></a><span class="lineno">  175</span>&#160;        <span class="keywordflow">goto</span> ExitITM;</div>
<div class="line"><a name="l00176"></a><span class="lineno">  176</span>&#160;    }</div>
<div class="line"><a name="l00177"></a><span class="lineno">  177</span>&#160; </div>
<div class="line"><a name="l00178"></a><span class="lineno">  178</span>&#160;    <span class="comment">//</span></div>
<div class="line"><a name="l00179"></a><span class="lineno">  179</span>&#160;    <span class="comment">// allocate buffers</span></div>
<div class="line"><a name="l00180"></a><span class="lineno">  180</span>&#160;    <span class="comment">// </span></div>
<div class="line"><a name="l00181"></a><span class="lineno">  181</span>&#160;    pbKeyState = LocalAlloc( LMEM_FIXED, 256 );</div>
<div class="line"><a name="l00182"></a><span class="lineno">  182</span>&#160;    <span class="keywordflow">if</span> ( pbKeyState == NULL ) {</div>
<div class="line"><a name="l00183"></a><span class="lineno">  183</span>&#160;        <a class="code" href="a00371.html#a01c4659626880ba56745765a3580a36b">RIPMSG0</a>(<a class="code" href="a00371.html#a41f433389f20db57f042022a662e96de">RIP_WARNING</a>, <span class="stringliteral">&quot;ImmTranslateMessage out of memory&quot;</span> );</div>
<div class="line"><a name="l00184"></a><span class="lineno">  184</span>&#160;        <span class="keywordflow">goto</span> ExitITM;</div>
<div class="line"><a name="l00185"></a><span class="lineno">  185</span>&#160;    }</div>
<div class="line"><a name="l00186"></a><span class="lineno">  186</span>&#160;    <span class="keywordflow">if</span> ( ! <a class="code" href="a03743.html#ac655051edcf7b8d354320b0bf9cbdd95">GetKeyboardState</a>( pbKeyState ) ) {</div>
<div class="line"><a name="l00187"></a><span class="lineno">  187</span>&#160;        <a class="code" href="a00371.html#a01c4659626880ba56745765a3580a36b">RIPMSG0</a>(<a class="code" href="a00371.html#a41f433389f20db57f042022a662e96de">RIP_WARNING</a>, <span class="stringliteral">&quot;ImmTranslateMessage GetKeyboardState() failed&quot;</span> );</div>
<div class="line"><a name="l00188"></a><span class="lineno">  188</span>&#160;        LocalFree( pbKeyState );</div>
<div class="line"><a name="l00189"></a><span class="lineno">  189</span>&#160;        <span class="keywordflow">goto</span> ExitITM;</div>
<div class="line"><a name="l00190"></a><span class="lineno">  190</span>&#160;    }</div>
<div class="line"><a name="l00191"></a><span class="lineno">  191</span>&#160;    pdwTransBuf = (PDWORD)LocalAlloc( LMEM_FIXED, (MessageCount*3+1)*<span class="keyword">sizeof</span>(<a class="code" href="a00563.html#a074685e97e89d6aa2accdfcb82328699">DWORD</a>));</div>
<div class="line"><a name="l00192"></a><span class="lineno">  192</span>&#160;    <span class="keywordflow">if</span> ( pdwTransBuf == NULL ) {</div>
<div class="line"><a name="l00193"></a><span class="lineno">  193</span>&#160;        <a class="code" href="a00371.html#a01c4659626880ba56745765a3580a36b">RIPMSG0</a>(<a class="code" href="a00371.html#a41f433389f20db57f042022a662e96de">RIP_WARNING</a>, <span class="stringliteral">&quot;ImmTranslateMessage out of memory&quot;</span> );</div>
<div class="line"><a name="l00194"></a><span class="lineno">  194</span>&#160;        LocalFree( pbKeyState );</div>
<div class="line"><a name="l00195"></a><span class="lineno">  195</span>&#160;        <span class="keywordflow">goto</span> ExitITM;</div>
<div class="line"><a name="l00196"></a><span class="lineno">  196</span>&#160;    }</div>
<div class="line"><a name="l00197"></a><span class="lineno">  197</span>&#160; </div>
<div class="line"><a name="l00198"></a><span class="lineno">  198</span>&#160;    <span class="comment">// </span></div>
<div class="line"><a name="l00199"></a><span class="lineno">  199</span>&#160;    <span class="comment">// Translate the saved vkey into character code if needed</span></div>
<div class="line"><a name="l00200"></a><span class="lineno">  200</span>&#160;    <span class="comment">//</span></div>
<div class="line"><a name="l00201"></a><span class="lineno">  201</span>&#160;    uVKey = pInputContext-&gt;uSavedVKey;</div>
<div class="line"><a name="l00202"></a><span class="lineno">  202</span>&#160; </div>
<div class="line"><a name="l00203"></a><span class="lineno">  203</span>&#160;    <span class="keywordflow">if</span> ( piiex-&gt;<a class="code" href="a02053.html#acbd013b579c0b839717284fb40eb7fbe">ImeInfo</a>.fdwProperty &amp; IME_PROP_KBD_CHAR_FIRST ) {</div>
<div class="line"><a name="l00204"></a><span class="lineno">  204</span>&#160; </div>
<div class="line"><a name="l00205"></a><span class="lineno">  205</span>&#160;        <span class="keywordflow">if</span> ( piiex-&gt;<a class="code" href="a02053.html#acbd013b579c0b839717284fb40eb7fbe">ImeInfo</a>.fdwProperty &amp; IME_PROP_UNICODE ) {</div>
<div class="line"><a name="l00206"></a><span class="lineno">  206</span>&#160;            iNum = <a class="code" href="a03611.html#ac08320cb99ff87cc99ff553e36dc1616">ToUnicode</a>( pInputContext-&gt;uSavedVKey, <span class="comment">// virtual-key code</span></div>
<div class="line"><a name="l00207"></a><span class="lineno">  207</span>&#160;                              HIWORD(lParam),            <span class="comment">// scan code</span></div>
<div class="line"><a name="l00208"></a><span class="lineno">  208</span>&#160;                              pbKeyState,                <span class="comment">// key-state array </span></div>
<div class="line"><a name="l00209"></a><span class="lineno">  209</span>&#160;                              (LPWSTR)pdwTransBuf,       <span class="comment">// buffer for translated key</span></div>
<div class="line"><a name="l00210"></a><span class="lineno">  210</span>&#160;                              1,                         <span class="comment">// size of buffer</span></div>
<div class="line"><a name="l00211"></a><span class="lineno">  211</span>&#160;                              0);                         </div>
<div class="line"><a name="l00212"></a><span class="lineno">  212</span>&#160;            <span class="keywordflow">if</span> ( iNum == 1 ) {</div>
<div class="line"><a name="l00213"></a><span class="lineno">  213</span>&#160;                <span class="comment">//</span></div>
<div class="line"><a name="l00214"></a><span class="lineno">  214</span>&#160;                <span class="comment">// hi word            : unicode character code</span></div>
<div class="line"><a name="l00215"></a><span class="lineno">  215</span>&#160;                <span class="comment">// hi byte of lo word : zero</span></div>
<div class="line"><a name="l00216"></a><span class="lineno">  216</span>&#160;                <span class="comment">// lo byte of lo word : virtual key</span></div>
<div class="line"><a name="l00217"></a><span class="lineno">  217</span>&#160;                <span class="comment">//</span></div>
<div class="line"><a name="l00218"></a><span class="lineno">  218</span>&#160;                uVKey = (uVKey &amp; 0x00ff) | ( ((<a class="code" href="a00563.html#a074685e97e89d6aa2accdfcb82328699">DWORD</a>)(*(PWCHAR)pdwTransBuf)) &lt;&lt; 16 );</div>
<div class="line"><a name="l00219"></a><span class="lineno">  219</span>&#160;            }</div>
<div class="line"><a name="l00220"></a><span class="lineno">  220</span>&#160;        } <span class="keywordflow">else</span> {</div>
<div class="line"><a name="l00221"></a><span class="lineno">  221</span>&#160;            iNum = <a class="code" href="a00026.html#a14e612b936b7c1118f87699a34646921">ToAsciiEx</a>( pInputContext-&gt;uSavedVKey, <span class="comment">// virtual-key code</span></div>
<div class="line"><a name="l00222"></a><span class="lineno">  222</span>&#160;                              HIWORD(lParam),            <span class="comment">// scan code</span></div>
<div class="line"><a name="l00223"></a><span class="lineno">  223</span>&#160;                              pbKeyState,                <span class="comment">// key-state array </span></div>
<div class="line"><a name="l00224"></a><span class="lineno">  224</span>&#160;                              (LPWORD)pdwTransBuf,       <span class="comment">// buffer for translated key</span></div>
<div class="line"><a name="l00225"></a><span class="lineno">  225</span>&#160;                              0,                         <span class="comment">// active-menu flag</span></div>
<div class="line"><a name="l00226"></a><span class="lineno">  226</span>&#160;                              hkl);</div>
<div class="line"><a name="l00227"></a><span class="lineno">  227</span>&#160;            <span class="keywordflow">if</span> ( iNum &gt; 0 ) {</div>
<div class="line"><a name="l00228"></a><span class="lineno">  228</span>&#160;                <span class="comment">//</span></div>
<div class="line"><a name="l00229"></a><span class="lineno">  229</span>&#160;                <span class="comment">// hi word            : should be zero</span></div>
<div class="line"><a name="l00230"></a><span class="lineno">  230</span>&#160;                <span class="comment">// hi byte of lo word : character code</span></div>
<div class="line"><a name="l00231"></a><span class="lineno">  231</span>&#160;                <span class="comment">// lo byte of lo word : virtual key</span></div>
<div class="line"><a name="l00232"></a><span class="lineno">  232</span>&#160;                <span class="comment">//</span></div>
<div class="line"><a name="l00233"></a><span class="lineno">  233</span>&#160;                uVKey = (uVKey &amp; 0x00FF) | ( ((<a class="code" href="a00563.html#a074685e97e89d6aa2accdfcb82328699">DWORD</a>)(*(PBYTE)pdwTransBuf)) &lt;&lt; 8);</div>
<div class="line"><a name="l00234"></a><span class="lineno">  234</span>&#160;                uVKey &amp;= 0x0000ffff;</div>
<div class="line"><a name="l00235"></a><span class="lineno">  235</span>&#160;            }</div>
<div class="line"><a name="l00236"></a><span class="lineno">  236</span>&#160;        }</div>
<div class="line"><a name="l00237"></a><span class="lineno">  237</span>&#160;    }</div>
<div class="line"><a name="l00238"></a><span class="lineno">  238</span>&#160;    </div>
<div class="line"><a name="l00239"></a><span class="lineno">  239</span>&#160;    <span class="comment">//</span></div>
<div class="line"><a name="l00240"></a><span class="lineno">  240</span>&#160;    <span class="comment">// Call IME</span></div>
<div class="line"><a name="l00241"></a><span class="lineno">  241</span>&#160;    <span class="comment">//</span></div>
<div class="line"><a name="l00242"></a><span class="lineno">  242</span>&#160;    *pdwTransBuf = MessageCount;</div>
<div class="line"><a name="l00243"></a><span class="lineno">  243</span>&#160;    iNum = (*pImeDpi-&gt;<a class="code" href="a02061.html#a0a773e0cc4dc9fff2db3fa40d0d00ceb">pfn</a>.<a class="code" href="a02065.html#abfcab075c50e26bfeca99b491bdab8a1">ImeToAsciiEx</a>)( uVKey,</div>
<div class="line"><a name="l00244"></a><span class="lineno">  244</span>&#160;                                         HIWORD(lParam),</div>
<div class="line"><a name="l00245"></a><span class="lineno">  245</span>&#160;                                         pbKeyState,</div>
<div class="line"><a name="l00246"></a><span class="lineno">  246</span>&#160;                                         pdwTransBuf,</div>
<div class="line"><a name="l00247"></a><span class="lineno">  247</span>&#160;                                         0,</div>
<div class="line"><a name="l00248"></a><span class="lineno">  248</span>&#160;                                         hImc);</div>
<div class="line"><a name="l00249"></a><span class="lineno">  249</span>&#160; </div>
<div class="line"><a name="l00250"></a><span class="lineno">  250</span>&#160;    <span class="keywordflow">if</span> ( iNum &gt; MessageCount ) {</div>
<div class="line"><a name="l00251"></a><span class="lineno">  251</span>&#160;    <span class="comment">//</span></div>
<div class="line"><a name="l00252"></a><span class="lineno">  252</span>&#160;    <span class="comment">// The message buffer is not big enough. IME put messages</span></div>
<div class="line"><a name="l00253"></a><span class="lineno">  253</span>&#160;    <span class="comment">// into hMsgBuf in the input context.</span></div>
<div class="line"><a name="l00254"></a><span class="lineno">  254</span>&#160;    <span class="comment">//</span></div>
<div class="line"><a name="l00255"></a><span class="lineno">  255</span>&#160;        PDWORD pdwt;</div>
<div class="line"><a name="l00256"></a><span class="lineno">  256</span>&#160;        pdwt = (PDWORD)<a class="code" href="a00311.html#a02ff95b5201786b482e825455b481f51">ImmLockIMCC</a>(pInputContext-&gt;hMsgBuf);</div>
<div class="line"><a name="l00257"></a><span class="lineno">  257</span>&#160;        <span class="keywordflow">if</span> ( pdwt != NULL ) {</div>
<div class="line"><a name="l00258"></a><span class="lineno">  258</span>&#160;            LocalFree( pdwTransBuf );</div>
<div class="line"><a name="l00259"></a><span class="lineno">  259</span>&#160;            pdwTransBuf = LocalAlloc( LMEM_FIXED, iNum * 3 * <span class="keyword">sizeof</span>(<a class="code" href="a00563.html#a074685e97e89d6aa2accdfcb82328699">DWORD</a>) );</div>
<div class="line"><a name="l00260"></a><span class="lineno">  260</span>&#160;            <span class="keywordflow">if</span> ( pdwTransBuf != NULL ) {</div>
<div class="line"><a name="l00261"></a><span class="lineno">  261</span>&#160;                RtlCopyMemory( pdwTransBuf, pdwt, iNum * 3 * <span class="keyword">sizeof</span>(<a class="code" href="a00563.html#a074685e97e89d6aa2accdfcb82328699">DWORD</a>) );</div>
<div class="line"><a name="l00262"></a><span class="lineno">  262</span>&#160;                <a class="code" href="a03287.html#a47240ee9807bb53bcf4f2bf62f271d1f">ImmPostMessages</a>( hwnd,  hImc, iNum, pdwTransBuf );</div>
<div class="line"><a name="l00263"></a><span class="lineno">  263</span>&#160;            }</div>
<div class="line"><a name="l00264"></a><span class="lineno">  264</span>&#160;            <a class="code" href="a00311.html#a4363eede481a6941c0b440711a64442c">ImmUnlockIMCC</a>(pInputContext-&gt;hMsgBuf);</div>
<div class="line"><a name="l00265"></a><span class="lineno">  265</span>&#160;        }</div>
<div class="line"><a name="l00266"></a><span class="lineno">  266</span>&#160; </div>
<div class="line"><a name="l00267"></a><span class="lineno">  267</span>&#160;    } </div>
<div class="line"><a name="l00268"></a><span class="lineno">  268</span>&#160; </div>
<div class="line"><a name="l00269"></a><span class="lineno">  269</span>&#160;    <span class="keywordflow">if</span> ( iNum &gt; 0 ) {</div>
<div class="line"><a name="l00270"></a><span class="lineno">  270</span>&#160;        <a class="code" href="a03287.html#a47240ee9807bb53bcf4f2bf62f271d1f">ImmPostMessages</a>( hwnd,  hImc, iNum, pdwTransBuf+1 );</div>
<div class="line"><a name="l00271"></a><span class="lineno">  271</span>&#160;        fReturn = TRUE;</div>
<div class="line"><a name="l00272"></a><span class="lineno">  272</span>&#160;    }</div>
<div class="line"><a name="l00273"></a><span class="lineno">  273</span>&#160;    LocalFree( pbKeyState );</div>
<div class="line"><a name="l00274"></a><span class="lineno">  274</span>&#160;    LocalFree( pdwTransBuf );</div>
<div class="line"><a name="l00275"></a><span class="lineno">  275</span>&#160;    </div>
<div class="line"><a name="l00276"></a><span class="lineno">  276</span>&#160;ExitITM:</div>
<div class="line"><a name="l00277"></a><span class="lineno">  277</span>&#160;    <a class="code" href="a00311.html#a5d94d0239203482be832b9a8e6f67754">ImmUnlockIMC</a>( hImc ); </div>
<div class="line"><a name="l00278"></a><span class="lineno">  278</span>&#160;    <a class="code" href="a00278.html#a98caf7280de9b3aaab8a101b827a1183">ImmReleaseContext</a>( hwnd, hImc ); </div>
<div class="line"><a name="l00279"></a><span class="lineno">  279</span>&#160;    <span class="keywordflow">return</span> fReturn;</div>
<div class="line"><a name="l00280"></a><span class="lineno">  280</span>&#160;}</div>
</div><!-- fragment -->
<p class="reference">引用了 <a class="el" href="a00563_source.html#l00175">DWORD</a>, <a class="el" href="a00026_source.html#l03732">GetKeyboardLayout()</a>, <a class="el" href="a03743_source.html#l00301">GetKeyboardState()</a>, <a class="el" href="a00263_source.html#l00211">GetWindowThreadProcessId()</a>, <a class="el" href="a00341_source.html#l00083">tagIMEINFOEX::ImeInfo</a>, <a class="el" href="a00341_source.html#l00133">ImeInfoExKeyboardLayout</a>, <a class="el" href="a00344_source.html#l00084">tagIMEDPI::_tagImeFunctions::ImeToAsciiEx</a>, <a class="el" href="a00278_source.html#l00161">ImmGetContext()</a>, <a class="el" href="a00311_source.html#l00697">ImmGetImeInfoEx()</a>, <a class="el" href="a00311_source.html#l00243">ImmLockIMC()</a>, <a class="el" href="a00311_source.html#l00386">ImmLockIMCC()</a>, <a class="el" href="a00311_source.html#l00649">ImmLockImeDpi()</a>, <a class="el" href="a03287_source.html#l00293">ImmPostMessages()</a>, <a class="el" href="a00278_source.html#l00241">ImmReleaseContext()</a>, <a class="el" href="a00311_source.html#l00302">ImmUnlockIMC()</a>, <a class="el" href="a00311_source.html#l00399">ImmUnlockIMCC()</a>, <a class="el" href="a02061.html#a0a773e0cc4dc9fff2db3fa40d0d00ceb">tagIMEDPI::pfn</a>, <a class="el" href="a00371_source.html#l00029">RIP_WARNING</a>, <a class="el" href="a00371_source.html#l00131">RIPMSG0</a>, <a class="el" href="a00371_source.html#l00132">RIPMSG1</a>, <a class="el" href="a00026_source.html#l00940">ToAsciiEx()</a>, <a class="el" href="a03611_source.html#l01101">ToUnicode()</a>, <a class="el" href="a03287_source.html#l00076">TRANSMSGCOUNT</a> , 以及 <a class="el" href="a03608.html#afd1a0e78d1f88954d93e48ab3821781f">UINT()</a>.</p>

<p class="reference">被这些函数引用 <a class="el" href="a03611_source.html#l01017">TranslateMessage()</a>.</p>

</div>
</div>
<a id="a9488726a81b957d10975e322e12b13e0"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a9488726a81b957d10975e322e12b13e0">&#9670;&nbsp;</a></span>ImmUnlockClientImc()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">VOID WINAPI ImmUnlockClientImc </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="a00344.html#a013cc3374cd90a89e95081008e1de08b">PCLIENTIMC</a>&#160;</td>
          <td class="paramname"><em>pClientImc</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p class="definition">在文件 <a class="el" href="a00311_source.html">misc.c</a> 第 <a class="el" href="a00311_source.html#l00623">623</a> 行定义.</p>
<div class="fragment"><div class="line"><a name="l00625"></a><span class="lineno">  625</span>&#160;{</div>
<div class="line"><a name="l00626"></a><span class="lineno">  626</span>&#160;    <span class="keywordflow">if</span> (InterlockedDecrement(&amp;pClientImc-&gt;<a class="code" href="a02057.html#aaae403638eb994d33c8753ce6083b055">cLockObj</a>) == 0) {</div>
<div class="line"><a name="l00627"></a><span class="lineno">  627</span>&#160;        <span class="keywordflow">if</span> (<a class="code" href="a00293.html#a14c7912f65c80bf423e70d6038ad8a96">TestICF</a>(pClientImc, <a class="code" href="a00341.html#aa4eec6a54814a3fcdca0f205f002e58e">IMCF_INDESTROY</a>)) {</div>
<div class="line"><a name="l00628"></a><span class="lineno">  628</span>&#160;<span class="preprocessor">#ifdef DEBUG</span></div>
<div class="line"><a name="l00629"></a><span class="lineno">  629</span>&#160;            <a class="code" href="a02589.html">PIMC</a> pImc = <a class="code" href="a00365.html#adcc97c154408fd5498551b3d94332c1b">HMValidateHandle</a>((HANDLE)pClientImc-&gt;<a class="code" href="a02057.html#a70474f031ae92bf418f1da00e1cb993c">hImc</a>, TYPE_INPUTCONTEXT);</div>
<div class="line"><a name="l00630"></a><span class="lineno">  630</span>&#160;            <a class="code" href="a00293.html#a4a8d67a2c4cc9ce4dd6aabfd9e460635">ImmAssert</a>(pImc == NULL || pImc-&gt;<a class="code" href="a02589.html#a85828ff3dc4186af53455b2aefe48596">dwClientImcData</a> == 0);</div>
<div class="line"><a name="l00631"></a><span class="lineno">  631</span>&#160;<span class="preprocessor">#endif</span></div>
<div class="line"><a name="l00632"></a><span class="lineno">  632</span>&#160;            <span class="keywordflow">if</span> (pClientImc-&gt;<a class="code" href="a02057.html#a86328e4645657c1e93191ee6e945d1cf">hInputContext</a> != NULL)</div>
<div class="line"><a name="l00633"></a><span class="lineno">  633</span>&#160;                LocalFree(pClientImc-&gt;<a class="code" href="a02057.html#a86328e4645657c1e93191ee6e945d1cf">hInputContext</a>);</div>
<div class="line"><a name="l00634"></a><span class="lineno">  634</span>&#160; </div>
<div class="line"><a name="l00635"></a><span class="lineno">  635</span>&#160;            <a class="code" href="a00344.html#a0f23df0fcad1be8ff3c13a31691d8394">DeleteImcCrit</a>(pClientImc);</div>
<div class="line"><a name="l00636"></a><span class="lineno">  636</span>&#160;            <a class="code" href="a00293.html#ae6ef91973c6a6f95f9b95f0c2a7c3315">ImmLocalFree</a>(pClientImc);</div>
<div class="line"><a name="l00637"></a><span class="lineno">  637</span>&#160;        }</div>
<div class="line"><a name="l00638"></a><span class="lineno">  638</span>&#160;    }</div>
<div class="line"><a name="l00639"></a><span class="lineno">  639</span>&#160; </div>
<div class="line"><a name="l00640"></a><span class="lineno">  640</span>&#160;    <span class="keywordflow">return</span>;</div>
<div class="line"><a name="l00641"></a><span class="lineno">  641</span>&#160;}</div>
</div><!-- fragment -->
<p class="reference">引用了 <a class="el" href="a00344_source.html#l00026">tagCLIENTIMC::cLockObj</a>, <a class="el" href="a00344_source.html#l00032">DeleteImcCrit</a>, <a class="el" href="a00365_source.html#l01461">tagIMC::dwClientImcData</a>, <a class="el" href="a00344_source.html#l00024">tagCLIENTIMC::hImc</a>, <a class="el" href="a00344_source.html#l00025">tagCLIENTIMC::hInputContext</a>, <a class="el" href="a03752_source.html#l00232">HMValidateHandle()</a>, <a class="el" href="a00341_source.html#l00035">IMCF_INDESTROY</a>, <a class="el" href="a00293_source.html#l00057">ImmAssert</a>, <a class="el" href="a00293_source.html#l00107">ImmLocalFree</a> , 以及 <a class="el" href="a00293_source.html#l00136">TestICF</a>.</p>

<p class="reference">被这些函数引用 <a class="el" href="a00278_source.html#l00371">CreateInputContext()</a>, <a class="el" href="a00278_source.html#l00027">ImmCreateDefaultContext()</a>, <a class="el" href="a00311_source.html#l00135">ImmGenerateMessage()</a>, <a class="el" href="a00281_source.html#l00750">ImmGetCandidateListCountWorker()</a>, <a class="el" href="a00281_source.html#l00883">ImmGetCandidateListWorker()</a>, <a class="el" href="a00281_source.html#l01411">ImmGetCompositionFontA()</a>, <a class="el" href="a00281_source.html#l01471">ImmGetCompositionFontW()</a>, <a class="el" href="a00281_source.html#l00025">ImmGetCompositionStringA()</a>, <a class="el" href="a00281_source.html#l00086">ImmGetCompositionStringW()</a>, <a class="el" href="a00281_source.html#l01038">ImmGetGuideLineWorker()</a>, <a class="el" href="a00311_source.html#l00331">ImmGetIMCLockCount()</a>, <a class="el" href="a00278_source.html#l00193">ImmGetSaveContext()</a>, <a class="el" href="a00311_source.html#l00243">ImmLockIMC()</a>, <a class="el" href="a03287_source.html#l00293">ImmPostMessages()</a>, <a class="el" href="a00278_source.html#l00255">ImmSetActiveContext()</a>, <a class="el" href="a00281_source.html#l01522">ImmSetCompositionFontA()</a>, <a class="el" href="a00281_source.html#l01573">ImmSetCompositionFontW()</a>, <a class="el" href="a00311_source.html#l00302">ImmUnlockIMC()</a> , 以及 <a class="el" href="a00278_source.html#l00597">SelectInputContext()</a>.</p>

</div>
</div>
<a id="a476139459ee89728a91d341e1b72fb39"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a476139459ee89728a91d341e1b72fb39">&#9670;&nbsp;</a></span>ImmUnlockImeDpi()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">VOID WINAPI ImmUnlockImeDpi </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="a00344.html#a62ef1d2de4f5999445749347090577a3">PIMEDPI</a>&#160;</td>
          <td class="paramname"><em>pImeDpi</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p class="definition">在文件 <a class="el" href="a00311_source.html">misc.c</a> 第 <a class="el" href="a00311_source.html#l00678">678</a> 行定义.</p>
<div class="fragment"><div class="line"><a name="l00680"></a><span class="lineno">  680</span>&#160;{</div>
<div class="line"><a name="l00681"></a><span class="lineno">  681</span>&#160;<span class="preprocessor">#ifdef LATER</span></div>
<div class="line"><a name="l00682"></a><span class="lineno">  682</span>&#160;    <span class="comment">// Will implement free-on-unlock later.</span></div>
<div class="line"><a name="l00683"></a><span class="lineno">  683</span>&#160;<span class="preprocessor">#endif</span></div>
<div class="line"><a name="l00684"></a><span class="lineno">  684</span>&#160;    <span class="keywordflow">if</span> (pImeDpi != NULL)</div>
<div class="line"><a name="l00685"></a><span class="lineno">  685</span>&#160;        pImeDpi-&gt;<a class="code" href="a02061.html#a58447d6039150bd4b98c6a9b074d3f59">cLock</a>--;</div>
<div class="line"><a name="l00686"></a><span class="lineno">  686</span>&#160; </div>
<div class="line"><a name="l00687"></a><span class="lineno">  687</span>&#160;    <span class="keywordflow">return</span>;</div>
<div class="line"><a name="l00688"></a><span class="lineno">  688</span>&#160;}</div>
</div><!-- fragment -->
<p class="reference">引用了 <a class="el" href="a00344_source.html#l00069">tagIMEDPI::cLock</a>.</p>

<p class="reference">被这些函数引用 <a class="el" href="a00167_source.html#l00767">CreateIMEUI()</a>, <a class="el" href="a00278_source.html#l00371">CreateInputContext()</a>, <a class="el" href="a00278_source.html#l00518">DestroyInputContext()</a>, <a class="el" href="a00296_source.html#l00386">ImmConfigureIMEA()</a>, <a class="el" href="a00296_source.html#l00514">ImmConfigureIMEW()</a>, <a class="el" href="a00323_source.html#l00107">ImmCreateSoftKeyboard()</a>, <a class="el" href="a00314_source.html#l00533">ImmEnumRegisterWordA()</a>, <a class="el" href="a00314_source.html#l00635">ImmEnumRegisterWordW()</a>, <a class="el" href="a00296_source.html#l00652">ImmEscapeA()</a>, <a class="el" href="a00296_source.html#l00801">ImmEscapeW()</a>, <a class="el" href="a00281_source.html#l01633">ImmGetConversionListA()</a>, <a class="el" href="a00281_source.html#l01753">ImmGetConversionListW()</a>, <a class="el" href="a00308_source.html#l00181">ImmGetProperty()</a>, <a class="el" href="a00314_source.html#l00397">ImmGetRegisterWordStyleA()</a>, <a class="el" href="a00314_source.html#l00466">ImmGetRegisterWordStyleW()</a>, <a class="el" href="a00296_source.html#l00303">ImmLoadIME()</a>, <a class="el" href="a00296_source.html#l00929">ImmNotifyIME()</a>, <a class="el" href="a03287_source.html#l00023">ImmProcessKey()</a>, <a class="el" href="a00314_source.html#l00025">ImmRegisterWordA()</a>, <a class="el" href="a00314_source.html#l00116">ImmRegisterWordW()</a>, <a class="el" href="a00278_source.html#l00255">ImmSetActiveContext()</a>, <a class="el" href="a00281_source.html#l00547">ImmSetCompositionStringWorker()</a>, <a class="el" href="a00314_source.html#l00211">ImmUnregisterWordA()</a>, <a class="el" href="a00314_source.html#l00302">ImmUnregisterWordW()</a>, <a class="el" href="a00290_source.html#l00649">JCloseOpen()</a>, <a class="el" href="a00281_source.html#l02918">MakeIMENotify()</a> , 以及 <a class="el" href="a00278_source.html#l00597">SelectInputContext()</a>.</p>

</div>
</div>
</div><!-- contents -->
</div><!-- doc-content -->
<div class="ttc" id="aa00371_html_a01c4659626880ba56745765a3580a36b"><div class="ttname"><a href="a00371.html#a01c4659626880ba56745765a3580a36b">RIPMSG0</a></div><div class="ttdeci">#define RIPMSG0(flags, szFmt)</div><div class="ttdef"><b>Definition:</b> <a href="a00371_source.html#l00131">winerrp.h:131</a></div></div>
<div class="ttc" id="aa00365_html_adcc97c154408fd5498551b3d94332c1b"><div class="ttname"><a href="a00365.html#adcc97c154408fd5498551b3d94332c1b">HMValidateHandle</a></div><div class="ttdeci">PVOID FASTCALL HMValidateHandle(HANDLE h, BYTE btype)</div><div class="ttdef"><b>Definition:</b> <a href="a03752_source.html#l00232">rtl/wow.c:232</a></div></div>
<div class="ttc" id="aa00293_html_ae6ef91973c6a6f95f9b95f0c2a7c3315"><div class="ttname"><a href="a00293.html#ae6ef91973c6a6f95f9b95f0c2a7c3315">ImmLocalFree</a></div><div class="ttdeci">#define ImmLocalFree(p)</div><div class="ttdef"><b>Definition:</b> <a href="a00293_source.html#l00107">immcli.h:107</a></div></div>
<div class="ttc" id="aa02053_html"><div class="ttname"><a href="a02053.html">tagIMEINFOEX</a></div><div class="ttdef"><b>Definition:</b> <a href="a00341_source.html#l00081">immstruc.h:81</a></div></div>
<div class="ttc" id="aa00311_html_a476139459ee89728a91d341e1b72fb39"><div class="ttname"><a href="a00311.html#a476139459ee89728a91d341e1b72fb39">ImmUnlockImeDpi</a></div><div class="ttdeci">VOID WINAPI ImmUnlockImeDpi(PIMEDPI pImeDpi)</div><div class="ttdef"><b>Definition:</b> <a href="a00311_source.html#l00678">misc.c:678</a></div></div>
<div class="ttc" id="aa00290_html_af049c94d40ae862e4a06fead369ae652"><div class="ttname"><a href="a00290.html#af049c94d40ae862e4a06fead369ae652">SetDefaultImeHotKeys</a></div><div class="ttdeci">VOID SetDefaultImeHotKeys(PIMEHOTKEY ph, INT num, BOOL fCheckExistingHotKey)</div><div class="ttdef"><b>Definition:</b> <a href="a00290_source.html#l00123">hotkey.c:123</a></div></div>
<div class="ttc" id="aa00341_html_acc6ddc0454c999eb72f13dca36106f2c"><div class="ttname"><a href="a00341.html#acc6ddc0454c999eb72f13dca36106f2c">IM_FILE_SIZE</a></div><div class="ttdeci">#define IM_FILE_SIZE</div><div class="ttdef"><b>Definition:</b> <a href="a00341_source.html#l00055">immstruc.h:55</a></div></div>
<div class="ttc" id="aa02061_html_a58447d6039150bd4b98c6a9b074d3f59"><div class="ttname"><a href="a02061.html#a58447d6039150bd4b98c6a9b074d3f59">tagIMEDPI::cLock</a></div><div class="ttdeci">DWORD cLock</div><div class="ttdef"><b>Definition:</b> <a href="a00344_source.html#l00069">immuser.h:69</a></div></div>
<div class="ttc" id="aa00311_html_a02ff95b5201786b482e825455b481f51"><div class="ttname"><a href="a00311.html#a02ff95b5201786b482e825455b481f51">ImmLockIMCC</a></div><div class="ttdeci">LPVOID WINAPI ImmLockIMCC(HIMCC hIMCC)</div><div class="ttdef"><b>Definition:</b> <a href="a00311_source.html#l00386">misc.c:386</a></div></div>
<div class="ttc" id="aa00290_html_a928e85672e6ae1095fd67d64fceed206"><div class="ttname"><a href="a00290.html#a928e85672e6ae1095fd67d64fceed206">DefaultHotKeyTableT</a></div><div class="ttdeci">IMEHOTKEY DefaultHotKeyTableT[]</div><div class="ttdef"><b>Definition:</b> <a href="a00290_source.html#l00064">hotkey.c:64</a></div></div>
<div class="ttc" id="aa02589_html_a85828ff3dc4186af53455b2aefe48596"><div class="ttname"><a href="a02589.html#a85828ff3dc4186af53455b2aefe48596">tagIMC::dwClientImcData</a></div><div class="ttdeci">DWORD dwClientImcData</div><div class="ttdef"><b>Definition:</b> <a href="a00365_source.html#l01461">user.h:1461</a></div></div>
<div class="ttc" id="aa00341_html_a432037388ec41b1fb8f299bdda2ea394"><div class="ttname"><a href="a00341.html#a432037388ec41b1fb8f299bdda2ea394">IMCF_DEFAULTIMC</a></div><div class="ttdeci">#define IMCF_DEFAULTIMC</div><div class="ttdef"><b>Definition:</b> <a href="a00341_source.html#l00037">immstruc.h:37</a></div></div>
<div class="ttc" id="aa00344_html_a23b11b6633c37c3ff8b389b1a339b9ca"><div class="ttname"><a href="a00344.html#a23b11b6633c37c3ff8b389b1a339b9ca">IMCENUMPROC</a></div><div class="ttdeci">BOOL(CALLBACK * IMCENUMPROC)(HIMC, LPARAM)</div><div class="ttdef"><b>Definition:</b> <a href="a00344_source.html#l00036">immuser.h:36</a></div></div>
<div class="ttc" id="aa03254_html_ab7ac3db019078f20fcf82850b103d097"><div class="ttname"><a href="a03254.html#ab7ac3db019078f20fcf82850b103d097">gcsImeDpi</a></div><div class="ttdeci">CRITICAL_SECTION gcsImeDpi</div><div class="ttdef"><b>Definition:</b> <a href="a03254_source.html#l00020">imm/globals.c:20</a></div></div>
<div class="ttc" id="aa00311_html_a9488726a81b957d10975e322e12b13e0"><div class="ttname"><a href="a00311.html#a9488726a81b957d10975e322e12b13e0">ImmUnlockClientImc</a></div><div class="ttdeci">VOID WINAPI ImmUnlockClientImc(PCLIENTIMC pClientImc)</div><div class="ttdef"><b>Definition:</b> <a href="a00311_source.html#l00623">misc.c:623</a></div></div>
<div class="ttc" id="aa01981_html_a7e778641be2cbb1d7912a392ab24458d"><div class="ttname"><a href="a01981.html#a7e778641be2cbb1d7912a392ab24458d">tagSELECTCONTEXT_ENUM::hSelKL</a></div><div class="ttdeci">HKL hSelKL</div><div class="ttdef"><b>Definition:</b> <a href="a00296_source.html#l00016">immime.c:16</a></div></div>
<div class="ttc" id="aa02065_html_a23a1d077a6e2e0b9cd302984dd69f445"><div class="ttname"><a href="a02065.html#a23a1d077a6e2e0b9cd302984dd69f445">tagIMEDPI::_tagImeFunctions::ImeSetActiveContext</a></div><div class="ttdeci">PFNSETACTIVEC ImeSetActiveContext</div><div class="ttdef"><b>Definition:</b> <a href="a00344_source.html#l00083">immuser.h:83</a></div></div>
<div class="ttc" id="aa03611_html_ac08320cb99ff87cc99ff553e36dc1616"><div class="ttname"><a href="a03611.html#ac08320cb99ff87cc99ff553e36dc1616">ToUnicode</a></div><div class="ttdeci">int ToUnicode(UINT wVirtKey, UINT wScanCode, PBYTE pKeyState, LPWSTR pwszBuff, int cchBuff, UINT wFlags)</div><div class="ttdef"><b>Definition:</b> <a href="a03611_source.html#l01101">client/ntstubs.c:1101</a></div></div>
<div class="ttc" id="aa00311_html_abad0a50d57502d3e8ec482dd68997ad9"><div class="ttname"><a href="a00311.html#abad0a50d57502d3e8ec482dd68997ad9">ImmLockClientImc</a></div><div class="ttdeci">PCLIENTIMC WINAPI ImmLockClientImc(HIMC hImc)</div><div class="ttdef"><b>Definition:</b> <a href="a00311_source.html#l00570">misc.c:570</a></div></div>
<div class="ttc" id="aa00341_html_aa968df90be5e9b0fbaacebcd15dab627"><div class="ttname"><a href="a00341.html#aa968df90be5e9b0fbaacebcd15dab627">ISHK_INITIALIZE</a></div><div class="ttdeci">#define ISHK_INITIALIZE</div><div class="ttdef"><b>Definition:</b> <a href="a00341_source.html#l00068">immstruc.h:68</a></div></div>
<div class="ttc" id="aa03287_html_ae2e86b0ac3aac4aca07c36d6916bfcf0"><div class="ttname"><a href="a03287.html#ae2e86b0ac3aac4aca07c36d6916bfcf0">TRANSMSGCOUNT</a></div><div class="ttdeci">#define TRANSMSGCOUNT</div><div class="ttdef"><b>Definition:</b> <a href="a03287_source.html#l00076">imm/input.c:76</a></div></div>
<div class="ttc" id="aa00263_html_a1dc37c01a43d34053e1dbf4ee8e0da0a"><div class="ttname"><a href="a00263.html#a1dc37c01a43d34053e1dbf4ee8e0da0a">GetWindowThreadProcessId</a></div><div class="ttdeci">DWORD GetWindowThreadProcessId(HWND hwnd, LPDWORD lpdwProcessId)</div><div class="ttdef"><b>Definition:</b> <a href="a00263_source.html#l00211">winmgrc.c:211</a></div></div>
<div class="ttc" id="aa02053_html_acbd013b579c0b839717284fb40eb7fbe"><div class="ttname"><a href="a02053.html#acbd013b579c0b839717284fb40eb7fbe">tagIMEINFOEX::ImeInfo</a></div><div class="ttdeci">IMEINFO ImeInfo</div><div class="ttdef"><b>Definition:</b> <a href="a00341_source.html#l00083">immstruc.h:83</a></div></div>
<div class="ttc" id="aa00290_html_abd805550da61afa38355cd1cd6b30e29"><div class="ttname"><a href="a00290.html#abd805550da61afa38355cd1cd6b30e29">DefaultHotKeyNumJ</a></div><div class="ttdeci">INT DefaultHotKeyNumJ</div><div class="ttdef"><b>Definition:</b> <a href="a00290_source.html#l00055">hotkey.c:55</a></div></div>
<div class="ttc" id="aa00290_html_a1c1bbca623bcff5393fe0becf1083f06"><div class="ttname"><a href="a00290.html#a1c1bbca623bcff5393fe0becf1083f06">DefaultHotKeyTableK</a></div><div class="ttdeci">IMEHOTKEY DefaultHotKeyTableK[]</div><div class="ttdef"><b>Definition:</b> <a href="a00290_source.html#l00057">hotkey.c:57</a></div></div>
<div class="ttc" id="aa00953_html_a392e62da233ed3e2f7c3fd4f487a3896"><div class="ttname"><a href="a00953.html#a392e62da233ed3e2f7c3fd4f487a3896">INT</a></div><div class="ttdeci">int INT</div><div class="ttdef"><b>Definition:</b> <a href="a00953_source.html#l00006">bench.c:6</a></div></div>
<div class="ttc" id="aa00341_html_aa4eec6a54814a3fcdca0f205f002e58e"><div class="ttname"><a href="a00341.html#aa4eec6a54814a3fcdca0f205f002e58e">IMCF_INDESTROY</a></div><div class="ttdeci">#define IMCF_INDESTROY</div><div class="ttdef"><b>Definition:</b> <a href="a00341_source.html#l00035">immstruc.h:35</a></div></div>
<div class="ttc" id="aa03254_html_ad8944ae644d08d76a5bac7a209743293"><div class="ttname"><a href="a03254.html#ad8944ae644d08d76a5bac7a209743293">gpImeDpi</a></div><div class="ttdeci">PIMEDPI gpImeDpi</div><div class="ttdef"><b>Definition:</b> <a href="a03254_source.html#l00019">imm/globals.c:19</a></div></div>
<div class="ttc" id="aa03743_html_ac5ede70e870dc1cf540d7524887e4edc"><div class="ttname"><a href="a03743.html#ac5ede70e870dc1cf540d7524887e4edc">IsWindow</a></div><div class="ttdeci">BOOL IsWindow(HWND hwnd)</div><div class="ttdef"><b>Definition:</b> <a href="a03743_source.html#l00421">client/wow.c:421</a></div></div>
<div class="ttc" id="aa00290_html_accbde14628a83458fcb4bb4f185e1d4a"><div class="ttname"><a href="a00290.html#accbde14628a83458fcb4bb4f185e1d4a">DefaultHotKeyTableJ</a></div><div class="ttdeci">IMEHOTKEY DefaultHotKeyTableJ[]</div><div class="ttdef"><b>Definition:</b> <a href="a00290_source.html#l00052">hotkey.c:52</a></div></div>
<div class="ttc" id="aa00371_html_a31aafffb49dfe98bdc749c9b35c90162"><div class="ttname"><a href="a00371.html#a31aafffb49dfe98bdc749c9b35c90162">RIPMSG1</a></div><div class="ttdeci">#define RIPMSG1(flags, szFmt, p1)</div><div class="ttdef"><b>Definition:</b> <a href="a00371_source.html#l00132">winerrp.h:132</a></div></div>
<div class="ttc" id="aa00344_html_a0f23df0fcad1be8ff3c13a31691d8394"><div class="ttname"><a href="a00344.html#a0f23df0fcad1be8ff3c13a31691d8394">DeleteImcCrit</a></div><div class="ttdeci">#define DeleteImcCrit(pClientImc)</div><div class="ttdef"><b>Definition:</b> <a href="a00344_source.html#l00032">immuser.h:32</a></div></div>
<div class="ttc" id="aa00311_html_adbb6236f980a6faaacadbe634b25bbe2"><div class="ttname"><a href="a00311.html#adbb6236f980a6faaacadbe634b25bbe2">ImmGetImeInfoEx</a></div><div class="ttdeci">BOOL WINAPI ImmGetImeInfoEx(PIMEINFOEX piiex, IMEINFOEXCLASS SearchType, PVOID pvSearchKey)</div><div class="ttdef"><b>Definition:</b> <a href="a00311_source.html#l00697">misc.c:697</a></div></div>
<div class="ttc" id="aa00341_html_a9d87ba42d1eed654ee04b018be9ea0b4"><div class="ttname"><a href="a00341.html#a9d87ba42d1eed654ee04b018be9ea0b4">IS_IME_KBDLAYOUT</a></div><div class="ttdeci">#define IS_IME_KBDLAYOUT(hkl)</div><div class="ttdef"><b>Definition:</b> <a href="a00341_source.html#l00045">immstruc.h:45</a></div></div>
<div class="ttc" id="aa00293_html_a14c7912f65c80bf423e70d6038ad8a96"><div class="ttname"><a href="a00293.html#a14c7912f65c80bf423e70d6038ad8a96">TestICF</a></div><div class="ttdeci">#define TestICF(pClientImc, flag)</div><div class="ttdef"><b>Definition:</b> <a href="a00293_source.html#l00136">immcli.h:136</a></div></div>
<div class="ttc" id="aa00311_html_a1020bebc03d70d1cb65e0f2f363bc6a5"><div class="ttname"><a href="a00311.html#a1020bebc03d70d1cb65e0f2f363bc6a5">TestInputContextProcess</a></div><div class="ttdeci">BOOL TestInputContextProcess(PIMC pImc)</div><div class="ttdef"><b>Definition:</b> <a href="a00311_source.html#l00479">misc.c:479</a></div></div>
<div class="ttc" id="aa00257_html_a8315d2c807ba18ba9e528c40614b6173"><div class="ttname"><a href="a00257.html#a8315d2c807ba18ba9e528c40614b6173">PtiCurrent</a></div><div class="ttdeci">PTHREADINFO PtiCurrent(VOID)</div><div class="ttdef"><b>Definition:</b> <a href="a00263_source.html#l00526">winmgrc.c:526</a></div></div>
<div class="ttc" id="aa00305_html_aeee10f6fbed98613f0a627e327f6747b"><div class="ttname"><a href="a00305.html#aeee10f6fbed98613f0a627e327f6747b">LoadVersionInfo</a></div><div class="ttdeci">BOOL LoadVersionInfo(PIMEINFOEX piiex)</div><div class="ttdef"><b>Definition:</b> <a href="a00305_source.html#l00312">layime.c:312</a></div></div>
<div class="ttc" id="aa00290_html_a11c0d7986011af848222b788aba333a3"><div class="ttname"><a href="a00290.html#a11c0d7986011af848222b788aba333a3">DefaultHotKeyTableC</a></div><div class="ttdeci">IMEHOTKEY DefaultHotKeyTableC[]</div><div class="ttdef"><b>Definition:</b> <a href="a00290_source.html#l00070">hotkey.c:70</a></div></div>
<div class="ttc" id="aa00296_html_affeb9a1f3463582f4269fc771b6eea01"><div class="ttname"><a href="a00296.html#affeb9a1f3463582f4269fc771b6eea01">FindOrLoadImeDpi</a></div><div class="ttdeci">PIMEDPI FindOrLoadImeDpi(HKL hKL)</div><div class="ttdef"><b>Definition:</b> <a href="a00296_source.html#l00204">immime.c:204</a></div></div>
<div class="ttc" id="aa00296_html_ae493eb3876d28be3f96624bfccabcb0b"><div class="ttname"><a href="a00296.html#ae493eb3876d28be3f96624bfccabcb0b">ImmLoadIME</a></div><div class="ttdeci">BOOL WINAPI ImmLoadIME(HKL hKL)</div><div class="ttdef"><b>Definition:</b> <a href="a00296_source.html#l00303">immime.c:303</a></div></div>
<div class="ttc" id="aa02061_html_a54a30d705640d134c1e94e8b66fd0325"><div class="ttname"><a href="a02061.html#a54a30d705640d134c1e94e8b66fd0325">tagIMEDPI::pNext</a></div><div class="ttdeci">struct tagIMEDPI * pNext</div><div class="ttdef"><b>Definition:</b> <a href="a00344_source.html#l00064">immuser.h:64</a></div></div>
<div class="ttc" id="aa00311_html_a321a0bacc1c67d1fefea199d0c6f4612"><div class="ttname"><a href="a00311.html#a321a0bacc1c67d1fefea199d0c6f4612">ImmLockImeDpi</a></div><div class="ttdeci">PIMEDPI WINAPI ImmLockImeDpi(HKL hKL)</div><div class="ttdef"><b>Definition:</b> <a href="a00311_source.html#l00649">misc.c:649</a></div></div>
<div class="ttc" id="aa02065_html_abf8637addd415feb54220fac31f35808"><div class="ttname"><a href="a02065.html#abf8637addd415feb54220fac31f35808">tagIMEDPI::_tagImeFunctions::ImeProcessKey</a></div><div class="ttdeci">PFNPROCESSKEY ImeProcessKey</div><div class="ttdef"><b>Definition:</b> <a href="a00344_source.html#l00081">immuser.h:81</a></div></div>
<div class="ttc" id="aa00344_html_ad764390ce9150a55aed33f7a97ab1eb2"><div class="ttname"><a href="a00344.html#ad764390ce9150a55aed33f7a97ab1eb2">InitImcCrit</a></div><div class="ttdeci">#define InitImcCrit(pClientImc)</div><div class="ttdef"><b>Definition:</b> <a href="a00344_source.html#l00031">immuser.h:31</a></div></div>
<div class="ttc" id="aa00293_html_ac9a8b2084b3f85ce62924981d68efa1e"><div class="ttname"><a href="a00293.html#ac9a8b2084b3f85ce62924981d68efa1e">SetICF</a></div><div class="ttdeci">#define SetICF(pClientImc, flag)</div><div class="ttdef"><b>Definition:</b> <a href="a00293_source.html#l00132">immcli.h:132</a></div></div>
<div class="ttc" id="aa00296_html_a43671cc4adc1a0394d9b74ef70393734"><div class="ttname"><a href="a00296.html#a43671cc4adc1a0394d9b74ef70393734">NotifyIMEProc</a></div><div class="ttdeci">BOOL NotifyIMEProc(HIMC hImc, LONG lParam)</div><div class="ttdef"><b>Definition:</b> <a href="a00296_source.html#l00285">immime.c:285</a></div></div>
<div class="ttc" id="aa00341_html_a4bed4ae731d02d2c8db5737a1727fb19"><div class="ttname"><a href="a00341.html#a4bed4ae731d02d2c8db5737a1727fb19">NtUserGetImeInfoEx</a></div><div class="ttdeci">BOOL NtUserGetImeInfoEx(PIMEINFOEX piiex, IMEINFOEXCLASS SearchType)</div></div>
<div class="ttc" id="aa00290_html_a159f161f022ec8eb7ab7feaed3462dac"><div class="ttname"><a href="a00290.html#a159f161f022ec8eb7ab7feaed3462dac">HotKeyIDDispatcher</a></div><div class="ttdeci">BOOL HotKeyIDDispatcher(HWND hWnd, HIMC hIMC, HKL hkl, DWORD dwHotKeyID)</div><div class="ttdef"><b>Definition:</b> <a href="a00290_source.html#l00591">hotkey.c:591</a></div></div>
<div class="ttc" id="aa00290_html_a94659c775dc741381fd9bd5dfdfd4155"><div class="ttname"><a href="a00290.html#a94659c775dc741381fd9bd5dfdfd4155">GetImeHotKeysFromRegistry</a></div><div class="ttdeci">BOOL GetImeHotKeysFromRegistry()</div><div class="ttdef"><b>Definition:</b> <a href="a00290_source.html#l00149">hotkey.c:149</a></div></div>
<div class="ttc" id="aa02053_html_aca1095cbcd4e269fd414475cea47a463"><div class="ttname"><a href="a02053.html#aca1095cbcd4e269fd414475cea47a463">tagIMEINFOEX::fLoadFlag</a></div><div class="ttdeci">BOOL fLoadFlag</div><div class="ttdef"><b>Definition:</b> <a href="a00341_source.html#l00087">immstruc.h:87</a></div></div>
<div class="ttc" id="aa00341_html_ac899aa88e02c855ed80c85ccef785080a262a9cb5d01f81a2e10060e897a8451f"><div class="ttname"><a href="a00341.html#ac899aa88e02c855ed80c85ccef785080a262a9cb5d01f81a2e10060e897a8451f">ImeInfoExImeFileName</a></div><div class="ttdeci">@ ImeInfoExImeFileName</div><div class="ttdef"><b>Definition:</b> <a href="a00341_source.html#l00135">immstruc.h:135</a></div></div>
<div class="ttc" id="aa03254_html_a2113971ea24e05b4d0789e642c7cb547"><div class="ttname"><a href="a03254.html#a2113971ea24e05b4d0789e642c7cb547">gszValImeFile</a></div><div class="ttdeci">WCHAR gszValImeFile[]</div><div class="ttdef"><b>Definition:</b> <a href="a03254_source.html#l00029">imm/globals.c:29</a></div></div>
<div class="ttc" id="aa00311_html_a93ced286ed15ec806746defb9a3ed34d"><div class="ttname"><a href="a00311.html#a93ced286ed15ec806746defb9a3ed34d">ImmLockIMC</a></div><div class="ttdeci">PINPUTCONTEXT WINAPI ImmLockIMC(HIMC hImc)</div><div class="ttdef"><b>Definition:</b> <a href="a00311_source.html#l00243">misc.c:243</a></div></div>
<div class="ttc" id="aa03743_html_ac655051edcf7b8d354320b0bf9cbdd95"><div class="ttname"><a href="a03743.html#ac655051edcf7b8d354320b0bf9cbdd95">GetKeyboardState</a></div><div class="ttdeci">BOOL GetKeyboardState(BYTE *pb)</div><div class="ttdef"><b>Definition:</b> <a href="a03743_source.html#l00301">client/wow.c:301</a></div></div>
<div class="ttc" id="aa00278_html_a86710598a5f27f0601d453cdbb0104f4"><div class="ttname"><a href="a00278.html#a86710598a5f27f0601d453cdbb0104f4">EnumInputContext</a></div><div class="ttdeci">BOOL EnumInputContext(DWORD idThread, IMCENUMPROC lpfn, LONG lParam)</div><div class="ttdef"><b>Definition:</b> <a href="a00278_source.html#l00786">context.c:786</a></div></div>
<div class="ttc" id="aa00563_html_a074685e97e89d6aa2accdfcb82328699"><div class="ttname"><a href="a00563.html#a074685e97e89d6aa2accdfcb82328699">DWORD</a></div><div class="ttdeci">ddeml v[i&lt; inst &gt;][t&lt; type &gt;][hObj|pObj] Dump DDEML state information ddeml lists all ddeml instances for this process n ddeml t&lt; type &gt; lists all ddeml objects of the given type n n assumes link is first DWORD</div><div class="ttdef"><b>Definition:</b> <a href="a00563_source.html#l00175">exts.h:175</a></div></div>
<div class="ttc" id="aa02057_html_a70474f031ae92bf418f1da00e1cb993c"><div class="ttname"><a href="a02057.html#a70474f031ae92bf418f1da00e1cb993c">tagCLIENTIMC::hImc</a></div><div class="ttdeci">HIMC hImc</div><div class="ttdef"><b>Definition:</b> <a href="a00344_source.html#l00024">immuser.h:24</a></div></div>
<div class="ttc" id="aa01981_html"><div class="ttname"><a href="a01981.html">tagSELECTCONTEXT_ENUM</a></div><div class="ttdef"><b>Definition:</b> <a href="a00296_source.html#l00015">immime.c:15</a></div></div>
<div class="ttc" id="aa03287_html_a47240ee9807bb53bcf4f2bf62f271d1f"><div class="ttname"><a href="a03287.html#a47240ee9807bb53bcf4f2bf62f271d1f">ImmPostMessages</a></div><div class="ttdeci">VOID ImmPostMessages(HWND hWnd, HIMC hImc, INT iNum, PDWORD pdwt)</div><div class="ttdef"><b>Definition:</b> <a href="a03287_source.html#l00293">imm/input.c:293</a></div></div>
<div class="ttc" id="aa00290_html_a7cec1255c18441ed7a8a6bd070a9bd10"><div class="ttname"><a href="a00290.html#a7cec1255c18441ed7a8a6bd070a9bd10">DefaultHotKeyNumK</a></div><div class="ttdeci">INT DefaultHotKeyNumK</div><div class="ttdef"><b>Definition:</b> <a href="a00290_source.html#l00062">hotkey.c:62</a></div></div>
<div class="ttc" id="aa00341_html_a55e2791b31f3a4a6bf80bddaed777430"><div class="ttname"><a href="a00341.html#a55e2791b31f3a4a6bf80bddaed777430">IMCF_ACTIVE</a></div><div class="ttdeci">#define IMCF_ACTIVE</div><div class="ttdef"><b>Definition:</b> <a href="a00341_source.html#l00030">immstruc.h:30</a></div></div>
<div class="ttc" id="aa02581_html"><div class="ttname"><a href="a02581.html">tagWND</a></div><div class="ttdef"><b>Definition:</b> <a href="a00365_source.html#l01388">user.h:1388</a></div></div>
<div class="ttc" id="aa00371_html_a41f433389f20db57f042022a662e96de"><div class="ttname"><a href="a00371.html#a41f433389f20db57f042022a662e96de">RIP_WARNING</a></div><div class="ttdeci">#define RIP_WARNING</div><div class="ttdef"><b>Definition:</b> <a href="a00371_source.html#l00029">winerrp.h:29</a></div></div>
<div class="ttc" id="aa00293_html_a3d753f884cab418538a34030823aa1d0"><div class="ttname"><a href="a00293.html#a3d753f884cab418538a34030823aa1d0">ImmLocalAlloc</a></div><div class="ttdeci">#define ImmLocalAlloc(uFlag, uBytes)</div><div class="ttdef"><b>Definition:</b> <a href="a00293_source.html#l00105">immcli.h:105</a></div></div>
<div class="ttc" id="aa02061_html"><div class="ttname"><a href="a02061.html">tagIMEDPI</a></div><div class="ttdef"><b>Definition:</b> <a href="a00344_source.html#l00063">immuser.h:63</a></div></div>
<div class="ttc" id="aa00341_html_a0a9dccdee156ccd95b13070fe779bd64"><div class="ttname"><a href="a00341.html#a0a9dccdee156ccd95b13070fe779bd64">NtUserSetThreadLayoutHandles</a></div><div class="ttdeci">VOID NtUserSetThreadLayoutHandles(IN HKL hklNew, IN HKL hklOld)</div></div>
<div class="ttc" id="aa00341_html_a93b9a7f7677934defcd03ca2c4d41ffa"><div class="ttname"><a href="a00341.html#a93b9a7f7677934defcd03ca2c4d41ffa">NULL_HIMC</a></div><div class="ttdeci">#define NULL_HIMC</div><div class="ttdef"><b>Definition:</b> <a href="a00341_source.html#l00023">immstruc.h:23</a></div></div>
<div class="ttc" id="aa00290_html_abe4753787abf4b7d8284900c32abbe8a"><div class="ttname"><a href="a00290.html#abe4753787abf4b7d8284900c32abbe8a">DefaultHotKeyNumT</a></div><div class="ttdeci">INT DefaultHotKeyNumT</div><div class="ttdef"><b>Definition:</b> <a href="a00290_source.html#l00068">hotkey.c:68</a></div></div>
<div class="ttc" id="aa00290_html_a723d9ff773cafab64424bec3d32c2921"><div class="ttname"><a href="a00290.html#a723d9ff773cafab64424bec3d32c2921">ImmSetHotKeyWorker</a></div><div class="ttdeci">BOOL ImmSetHotKeyWorker(DWORD dwID, UINT uModifiers, UINT uVKey, HKL hkl, DWORD dwAction)</div><div class="ttdef"><b>Definition:</b> <a href="a00290_source.html#l00495">hotkey.c:495</a></div></div>
<div class="ttc" id="aa02057_html_a86328e4645657c1e93191ee6e945d1cf"><div class="ttname"><a href="a02057.html#a86328e4645657c1e93191ee6e945d1cf">tagCLIENTIMC::hInputContext</a></div><div class="ttdeci">HANDLE hInputContext</div><div class="ttdef"><b>Definition:</b> <a href="a00344_source.html#l00025">immuser.h:25</a></div></div>
<div class="ttc" id="aa02053_html_a44bfbf1bad1abd1c46618c96f982aec4"><div class="ttname"><a href="a02053.html#a44bfbf1bad1abd1c46618c96f982aec4">tagIMEINFOEX::hkl</a></div><div class="ttdeci">HKL hkl</div><div class="ttdef"><b>Definition:</b> <a href="a00341_source.html#l00082">immstruc.h:82</a></div></div>
<div class="ttc" id="aa02057_html_aaae403638eb994d33c8753ce6083b055"><div class="ttname"><a href="a02057.html#aaae403638eb994d33c8753ce6083b055">tagCLIENTIMC::cLockObj</a></div><div class="ttdeci">LONG cLockObj</div><div class="ttdef"><b>Definition:</b> <a href="a00344_source.html#l00026">immuser.h:26</a></div></div>
<div class="ttc" id="aa00293_html_a41d387d1b2d42169cbaa2092c8a02abf"><div class="ttname"><a href="a00293.html#a41d387d1b2d42169cbaa2092c8a02abf">ValidateHwnd</a></div><div class="ttdeci">#define ValidateHwnd(hwnd)</div><div class="ttdef"><b>Definition:</b> <a href="a00293_source.html#l00090">immcli.h:90</a></div></div>
<div class="ttc" id="aa00341_html_ac899aa88e02c855ed80c85ccef785080a8f18818e788e4836e1e1a7bedad609f3"><div class="ttname"><a href="a00341.html#ac899aa88e02c855ed80c85ccef785080a8f18818e788e4836e1e1a7bedad609f3">ImeInfoExKeyboardLayout</a></div><div class="ttdeci">@ ImeInfoExKeyboardLayout</div><div class="ttdef"><b>Definition:</b> <a href="a00341_source.html#l00133">immstruc.h:133</a></div></div>
<div class="ttc" id="aa03254_html_a8012bb4501000bd95057e4e5022b7f91"><div class="ttname"><a href="a03254.html#a8012bb4501000bd95057e4e5022b7f91">gszRegKbdLayout</a></div><div class="ttdeci">WCHAR gszRegKbdLayout[]</div><div class="ttdef"><b>Definition:</b> <a href="a03254_source.html#l00028">imm/globals.c:28</a></div></div>
<div class="ttc" id="aa00293_html_a6a2bb78ecf5a1bdd3c1d5d1710ccd011"><div class="ttname"><a href="a00293.html#a6a2bb78ecf5a1bdd3c1d5d1710ccd011">ClrICF</a></div><div class="ttdeci">#define ClrICF(pClientImc, flag)</div><div class="ttdef"><b>Definition:</b> <a href="a00293_source.html#l00134">immcli.h:134</a></div></div>
<div class="ttc" id="aa00026_html_a14e612b936b7c1118f87699a34646921"><div class="ttname"><a href="a00026.html#a14e612b936b7c1118f87699a34646921">ToAsciiEx</a></div><div class="ttdeci">int WINAPI ToAsciiEx(UINT wVirtKey, UINT wScanCode, PBYTE lpKeyState, LPWORD lpChar, UINT wFlags, HKL hkl)</div><div class="ttdef"><b>Definition:</b> <a href="a00026_source.html#l00940">client.c:940</a></div></div>
<div class="ttc" id="aa02061_html_a0a773e0cc4dc9fff2db3fa40d0d00ceb"><div class="ttname"><a href="a02061.html#a0a773e0cc4dc9fff2db3fa40d0d00ceb">tagIMEDPI::pfn</a></div><div class="ttdeci">struct tagIMEDPI::_tagImeFunctions pfn</div></div>
<div class="ttc" id="aa00278_html_a3962340083a02a80746fd608a07b5fd9"><div class="ttname"><a href="a00278.html#a3962340083a02a80746fd608a07b5fd9">ImmGetSaveContext</a></div><div class="ttdeci">HIMC ImmGetSaveContext(HWND hWnd, DWORD dwFlag)</div><div class="ttdef"><b>Definition:</b> <a href="a00278_source.html#l00193">context.c:193</a></div></div>
<div class="ttc" id="aa03608_html_afd1a0e78d1f88954d93e48ab3821781f"><div class="ttname"><a href="a03608.html#afd1a0e78d1f88954d93e48ab3821781f">UINT</a></div><div class="ttdeci">typedef UINT(FAR WINAPI *MSGSOUNDPROC)()</div></div>
<div class="ttc" id="aa00278_html_a98caf7280de9b3aaab8a101b827a1183"><div class="ttname"><a href="a00278.html#a98caf7280de9b3aaab8a101b827a1183">ImmReleaseContext</a></div><div class="ttdeci">BOOL WINAPI ImmReleaseContext(HWND hWnd, HIMC hImc)</div><div class="ttdef"><b>Definition:</b> <a href="a00278_source.html#l00241">context.c:241</a></div></div>
<div class="ttc" id="aa00293_html_a4a8d67a2c4cc9ce4dd6aabfd9e460635"><div class="ttname"><a href="a00293.html#a4a8d67a2c4cc9ce4dd6aabfd9e460635">ImmAssert</a></div><div class="ttdeci">#define ImmAssert</div><div class="ttdef"><b>Definition:</b> <a href="a00293_source.html#l00057">immcli.h:57</a></div></div>
<div class="ttc" id="aa02065_html_abfcab075c50e26bfeca99b491bdab8a1"><div class="ttname"><a href="a02065.html#abfcab075c50e26bfeca99b491bdab8a1">tagIMEDPI::_tagImeFunctions::ImeToAsciiEx</a></div><div class="ttdeci">PFNTOASCEX ImeToAsciiEx</div><div class="ttdef"><b>Definition:</b> <a href="a00344_source.html#l00084">immuser.h:84</a></div></div>
<div class="ttc" id="aa01981_html_a8c4dc3185b129fc96fb5216ba4e00b21"><div class="ttname"><a href="a01981.html#a8c4dc3185b129fc96fb5216ba4e00b21">tagSELECTCONTEXT_ENUM::hUnSelKL</a></div><div class="ttdeci">HKL hUnSelKL</div><div class="ttdef"><b>Definition:</b> <a href="a00296_source.html#l00017">immime.c:17</a></div></div>
<div class="ttc" id="aa02589_html"><div class="ttname"><a href="a02589.html">tagIMC</a></div><div class="ttdef"><b>Definition:</b> <a href="a00365_source.html#l01458">user.h:1458</a></div></div>
<div class="ttc" id="aa00278_html_a3027828ace11569163557dd87e67dc5c"><div class="ttname"><a href="a00278.html#a3027828ace11569163557dd87e67dc5c">ImmGetContext</a></div><div class="ttdeci">HIMC WINAPI ImmGetContext(HWND hWnd)</div><div class="ttdef"><b>Definition:</b> <a href="a00278_source.html#l00161">context.c:161</a></div></div>
<div class="ttc" id="aa00341_html_aba5c7d55413f1b84e8119dd97a77a859"><div class="ttname"><a href="a00341.html#aba5c7d55413f1b84e8119dd97a77a859">NtUserUpdateInputContext</a></div><div class="ttdeci">BOOL NtUserUpdateInputContext(HIMC hImc, UPDATEINPUTCONTEXTCLASS UpdateType, DWORD UpdateValue)</div></div>
<div class="ttc" id="aa00341_html_a518f7d3c040c2f146d39362c0fda3040aa41c5f042b3b8696f1386d895cc09b63"><div class="ttname"><a href="a00341.html#a518f7d3c040c2f146d39362c0fda3040aa41c5f042b3b8696f1386d895cc09b63">UpdateClientInputContext</a></div><div class="ttdeci">@ UpdateClientInputContext</div><div class="ttdef"><b>Definition:</b> <a href="a00341_source.html#l00108">immstruc.h:108</a></div></div>
<div class="ttc" id="aa00341_html_ab070ce633144ec802e93fe55015435ab"><div class="ttname"><a href="a00341.html#ab070ce633144ec802e93fe55015435ab">IMEF_NONLOAD</a></div><div class="ttdeci">#define IMEF_NONLOAD</div><div class="ttdef"><b>Definition:</b> <a href="a00341_source.html#l00050">immstruc.h:50</a></div></div>
<div class="ttc" id="aa00296_html_a88afa3ab3b3763c2cd0402736f8db0f9"><div class="ttname"><a href="a00296.html#a88afa3ab3b3763c2cd0402736f8db0f9">SelectContextProc</a></div><div class="ttdeci">BOOL SelectContextProc(HIMC hImc, PSCE psce)</div><div class="ttdef"><b>Definition:</b> <a href="a00296_source.html#l00295">immime.c:295</a></div></div>
<div class="ttc" id="aa00026_html_a46278f8b1db32b9b4679eee6abc9e1b4"><div class="ttname"><a href="a00026.html#a46278f8b1db32b9b4679eee6abc9e1b4">GetKeyboardLayout</a></div><div class="ttdeci">HKL GetKeyboardLayout(DWORD idThread)</div><div class="ttdef"><b>Definition:</b> <a href="a00026_source.html#l03732">client.c:3732</a></div></div>
<div class="ttc" id="aa00311_html_a5d94d0239203482be832b9a8e6f67754"><div class="ttname"><a href="a00311.html#a5d94d0239203482be832b9a8e6f67754">ImmUnlockIMC</a></div><div class="ttdeci">BOOL WINAPI ImmUnlockIMC(HIMC hImc)</div><div class="ttdef"><b>Definition:</b> <a href="a00311_source.html#l00302">misc.c:302</a></div></div>
<div class="ttc" id="aa00311_html_a4363eede481a6941c0b440711a64442c"><div class="ttname"><a href="a00311.html#a4363eede481a6941c0b440711a64442c">ImmUnlockIMCC</a></div><div class="ttdeci">BOOL WINAPI ImmUnlockIMCC(HIMCC hIMCC)</div><div class="ttdef"><b>Definition:</b> <a href="a00311_source.html#l00399">misc.c:399</a></div></div>
<div class="ttc" id="aa00290_html_ac2a3547cf7aa2440b6aa5e1993d793c6"><div class="ttname"><a href="a00290.html#ac2a3547cf7aa2440b6aa5e1993d793c6">DefaultHotKeyNumC</a></div><div class="ttdeci">INT DefaultHotKeyNumC</div><div class="ttdef"><b>Definition:</b> <a href="a00290_source.html#l00074">hotkey.c:74</a></div></div>
<div class="ttc" id="aa02057_html"><div class="ttname"><a href="a02057.html">tagCLIENTIMC</a></div><div class="ttdef"><b>Definition:</b> <a href="a00344_source.html#l00023">immuser.h:23</a></div></div>
<div class="ttc" id="aa00344_html_a013cc3374cd90a89e95081008e1de08b"><div class="ttname"><a href="a00344.html#a013cc3374cd90a89e95081008e1de08b">PCLIENTIMC</a></div><div class="ttdeci">struct tagCLIENTIMC * PCLIENTIMC</div></div>
<div class="ttc" id="aa02053_html_a0a3a84deefbb80ce558a51542d96d9d4"><div class="ttname"><a href="a02053.html#a0a3a84deefbb80ce558a51542d96d9d4">tagIMEINFOEX::wszImeFile</a></div><div class="ttdeci">WCHAR wszImeFile[IM_FILE_SIZE]</div><div class="ttdef"><b>Definition:</b> <a href="a00341_source.html#l00091">immstruc.h:91</a></div></div>
<div class="ttc" id="aa00311_html_a30f5ab809b5e01066c0c3916a81c3489"><div class="ttname"><a href="a00311.html#a30f5ab809b5e01066c0c3916a81c3489">ImmGetDefaultIMEWnd</a></div><div class="ttdeci">HWND WINAPI ImmGetDefaultIMEWnd(HWND hWnd)</div><div class="ttdef"><b>Definition:</b> <a href="a00311_source.html#l00021">misc.c:21</a></div></div>
<div class="ttc" id="aa02061_html_a193b0c2e24d821084e237bb1c54e8cc4"><div class="ttname"><a href="a02061.html#a193b0c2e24d821084e237bb1c54e8cc4">tagIMEDPI::hKL</a></div><div class="ttdeci">HKL hKL</div><div class="ttdef"><b>Definition:</b> <a href="a00344_source.html#l00066">immuser.h:66</a></div></div>
<!-- start footer part -->
<div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
  <ul>
    <li class="navelem"><a class="el" href="dir_885cc87fac2d91e269af0a5a959fa5f6.html">E:</a></li><li class="navelem"><a class="el" href="dir_4e091ed8704426a7a4980368ba259fde.html">git</a></li><li class="navelem"><a class="el" href="dir_cd70cb5eb491250157f2d55d3ff4b13e.html">backup</a></li><li class="navelem"><a class="el" href="dir_ba2b673b566ba104b956abdc6dec0552.html">org</a></li><li class="navelem"><a class="el" href="dir_5bb0003d7907b45051943541418399f5.html">ntuser</a></li><li class="navelem"><a class="el" href="dir_b032acb5e9700fea8079ef1e33262e7c.html">inc</a></li><li class="navelem"><a class="el" href="a00344.html">immuser.h</a></li>
    <li class="footer">制作者
    <a href="http://www.doxygen.org/index.html">
    <img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.8.17 </li>
  </ul>
</div>
</body>
</html>
